mirror of
https://github.com/python/cpython.git
synced 2025-07-24 19:54:21 +00:00
gh-118894: Make asyncio REPL use pyrepl (GH-119433)
This commit is contained in:
parent
f9d47fed9f
commit
2237946af0
7 changed files with 143 additions and 65 deletions
|
@ -219,6 +219,11 @@ class interrupt(FinishCommand):
|
|||
os.kill(os.getpid(), signal.SIGINT)
|
||||
|
||||
|
||||
class ctrl_c(Command):
|
||||
def do(self) -> None:
|
||||
raise KeyboardInterrupt
|
||||
|
||||
|
||||
class suspend(Command):
|
||||
def do(self) -> None:
|
||||
import signal
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue