Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bpython/bpython
/ request_undo
Method
request_undo
doc/sphinx/source/simplerepl.py:63–64 ·
view source on GitHub ↗
(self, n=1)
Source
from the content-addressed store, hash-verified
61
self.out(
"please hit enter to trigger a refresh"
)
62
63
def
request_undo(self, n=1):
64
self.requested_events.append(bpythonevents.UndoEvent(n=n))
65
66
def
out(self, msg):
67
if
hasattr(self,
"orig_stdout"
):
Callers
nothing calls this directly
Calls
1
append
Method · 0.80
Tested by
no test coverage detected