MCPcopy Index your code
hub / github.com/python/cpython / delete

Method delete

Lib/idlelib/undo.py:85–86  ·  view source on GitHub ↗
(self, index1, index2=None)

Source from the content-addressed store, hash-verified

83 self.addcmd(InsertCommand(index, chars, tags))
84
85 def delete(self, index1, index2=None):
86 self.addcmd(DeleteCommand(index1, index2))
87
88 # Clients should call undo_block_start() and undo_block_stop()
89 # around a sequence of editing cmds to be treated as a unit by

Callers 3

undoMethod · 0.45
doMethod · 0.45
redoMethod · 0.45

Calls 2

addcmdMethod · 0.95
DeleteCommandClass · 0.85

Tested by

no test coverage detected