Skip to content

Commit

Permalink
Show help information when starting asyncio-REPL.
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanslenders committed Dec 12, 2023
1 parent f019301 commit eb39a32
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ptpython/entry_points/run_ptpython.py
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,8 @@ def configure(repl: PythonRepl) -> None:
)

if a.asyncio:
print("Starting ptpython asyncio REPL")
print('Use "await" directly instead of "asyncio.run()".')
asyncio.run(embed_result)


Expand Down

0 comments on commit eb39a32

Please sign in to comment.