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

Method insert

Lib/idlelib/pyshell.py:348–355  ·  view source on GitHub ↗
(self, index, chars, tags=None)

Source from the content-addressed store, hash-verified

346class ModifiedUndoDelegator(UndoDelegator):
347 "Extend base class: forbid insert/delete before the I/O mark"
348 def insert(self, index, chars, tags=None):
349 try:
350 if self.delegate.compare(index, "<", "iomark"):
351 self.delegate.bell()
352 return
353 except TclError:
354 pass
355 UndoDelegator.insert(self, index, chars, tags)
356
357 def delete(self, index1, index2=None):
358 try:

Callers 9

insertMethod · 0.45
PyShellClass · 0.45
__init__Method · 0.45
linefeed_callbackMethod · 0.45
enter_callbackMethod · 0.45
recallMethod · 0.45
show_warningMethod · 0.45
resetoutputMethod · 0.45
mainFunction · 0.45

Calls 2

compareMethod · 0.45
bellMethod · 0.45

Tested by

no test coverage detected