Show More
@@ -461,7 +461,7 class TerminalInteractiveShell(InteractiveShell): | |||||
461 | # while/true inside which will freeze the prompt. |
|
461 | # while/true inside which will freeze the prompt. | |
462 |
|
462 | |||
463 | try: |
|
463 | try: | |
464 |
old_loop = asyncio.get_ |
|
464 | old_loop = asyncio.get_running_loop() | |
465 | except RuntimeError: |
|
465 | except RuntimeError: | |
466 | # This happens when the user used `asyncio.run()`. |
|
466 | # This happens when the user used `asyncio.run()`. | |
467 | old_loop = None |
|
467 | old_loop = None |
General Comments 0
You need to be logged in to leave comments.
Login now