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

Method replace

Lib/tkinter/__init__.py:4097–4103  ·  view source on GitHub ↗

Replaces the range of characters between index1 and index2 with the given characters and tags specified by args. See the method insert for some more information about args, and the method delete for information about the indices.

(self, index1, index2, chars, *args)

Source from the content-addressed store, hash-verified

4095 return self.tk.splitlist(self.tk.call(self._w, 'peer', 'names'))
4096
4097 def replace(self, index1, index2, chars, *args): # new in Tk 8.5
4098 """Replaces the range of characters between index1 and index2 with
4099 the given characters and tags specified by args.
4100
4101 See the method insert for some more information about args, and the
4102 method delete for information about the indices."""
4103 self.tk.call(self._w, 'replace', index1, index2, chars, *args)
4104
4105 def scan_mark(self, x, y):
4106 """Remember the current X, Y coordinates."""

Callers 15

_stringifyFunction · 0.45
uu_encodeFunction · 0.45
search_functionFunction · 0.45
quoteFunction · 0.45
__init__Method · 0.45
header_decodeFunction · 0.45
_qencodeFunction · 0.45
formatdateFunction · 0.45
unquoteFunction · 0.45
decode_qFunction · 0.45
body_encodeFunction · 0.45
make_quoted_pairsFunction · 0.45

Calls 1

callMethod · 0.45

Tested by

no test coverage detected