mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Marked keystrokes with the :kbd: role.
Fixed the case of the "Ctrl-" prefixes.
This commit is contained in:
commit
153627c111
19 changed files with 32 additions and 32 deletions
|
@ -853,7 +853,7 @@ the :meth:`BaseEventLoop.add_signal_handler` method::
|
|||
loop.add_signal_handler(getattr(signal, signame),
|
||||
functools.partial(ask_exit, signame))
|
||||
|
||||
print("Event loop running forever, press CTRL+c to interrupt.")
|
||||
print("Event loop running forever, press Ctrl+C to interrupt.")
|
||||
print("pid %s: send SIGINT or SIGTERM to exit." % os.getpid())
|
||||
try:
|
||||
loop.run_forever()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue