Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ getcmd
Method
getcmd
Lib/idlelib/undo.py:321–322 ·
view source on GitHub ↗
(self, i)
Source
from the content-addressed store, hash-verified
319
self.cmds.append(cmd)
320
321
def
getcmd(self, i):
322
return
self.cmds[i]
323
324
def
redo(self, text):
325
for
cmd in self.cmds:
Callers
1
undo_block_stop
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected