Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ append
Method
append
Lib/idlelib/undo.py:318–319 ·
view source on GitHub ↗
(self, cmd)
Source
from the content-addressed store, hash-verified
316
return
len(self.cmds)
317
318
def
append(self, cmd):
319
self.cmds.append(cmd)
320
321
def
getcmd(self, i):
322
return
self.cmds[i]
Callers
15
set_breakpoint
Method · 0.45
ranges_to_linenumbers
Method · 0.45
main
Function · 0.45
GetExtensions
Method · 0.45
GetExtraHelpSourceList
Method · 0.45
__init__
Method · 0.45
get_context
Method · 0.45
make_gui
Method · 0.45
load_stack
Method · 0.45
GetSubList
Method · 0.45
GetSubList
Method · 0.45
listmodules
Method · 0.45
Calls
no outgoing calls
Tested by
11
_assert_highlighting
Method · 0.36
run
Function · 0.36
test_helplist_item_edit
Method · 0.36
test_helplist_item_remove
Method · 0.36
test_update_help_changes
Method · 0.36
test_clear
Method · 0.36
wrapped_func
Function · 0.36
checklines
Method · 0.36
test_nested
Method · 0.36
get_shell_line_y_coords
Method · 0.36
write
Method · 0.36