Show More
@@ -505,7 +505,7 b' class TerminalInteractiveShell(InteractiveShell):' | |||||
505 | # while/true inside which will freeze the prompt. |
|
505 | # while/true inside which will freeze the prompt. | |
506 |
|
506 | |||
507 | try: |
|
507 | try: | |
508 |
old_loop = asyncio.get_ |
|
508 | old_loop = asyncio.get_running_loop() | |
509 | except RuntimeError: |
|
509 | except RuntimeError: | |
510 | # This happens when the user used `asyncio.run()`. |
|
510 | # This happens when the user used `asyncio.run()`. | |
511 | old_loop = None |
|
511 | old_loop = None |
General Comments 0
You need to be logged in to leave comments.
Login now