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

Method insert

Lib/idlelib/undo.py:82–83  ·  view source on GitHub ↗
(self, index, chars, tags=None)

Source from the content-addressed store, hash-verified

80 self.saved_change_hook()
81
82 def insert(self, index, chars, tags=None):
83 self.addcmd(InsertCommand(index, chars, tags))
84
85 def delete(self, index1, index2=None):
86 self.addcmd(DeleteCommand(index1, index2))

Callers 3

doMethod · 0.45
redoMethod · 0.45
undoMethod · 0.45

Calls 2

addcmdMethod · 0.95
InsertCommandClass · 0.85

Tested by

no test coverage detected