Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ forgetinput
Method
forgetinput
Lib/_pyrepl/console.py:130–132 ·
view source on GitHub ↗
Forget all pending, but not yet processed input.
(self)
Source
from the content-addressed store, hash-verified
128
129
@abstractmethod
130
def
forgetinput(self) -> None:
131
""
"Forget all pending, but not yet processed input."
""
132
...
133
134
@abstractmethod
135
def
getpending(self) -> Event:
Callers
1
do
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected