MCPcopy Create free account
hub / github.com/python/cpython / __init__

Method __init__

Lib/idlelib/undo.py:167–174  ·  view source on GitHub ↗
(self, index1, index2, chars, tags=None)

Source from the content-addressed store, hash-verified

165 tags = None
166
167 def __init__(self, index1, index2, chars, tags=None):
168 self.marks_before = {}
169 self.marks_after = {}
170 self.index1 = index1
171 self.index2 = index2
172 self.chars = chars
173 if tags:
174 self.tags = tags
175
176 def __repr__(self):
177 s = self.__class__.__name__

Callers 3

__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected