We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 869bb69 commit 158dab7Copy full SHA for 158dab7
Lib/asyncio/__main__.py
@@ -107,7 +107,10 @@ def run(self):
107
if CAN_USE_PYREPL:
108
theme = get_theme().syntax
109
ps1 = f"{theme.prompt}{ps1}{theme.reset}"
110
- console.write(f"{ps1}import asyncio\n")
+ import_line = f'{theme.keyword}import{theme.reset} asyncio'
111
+ else:
112
+ import_line = "import asyncio"
113
+ console.write(f"{ps1}{import_line}\n")
114
115
116
from _pyrepl.simple_interact import (
0 commit comments