Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/python/cpython
/ __init__
Method
__init__
Lib/idlelib/undo.py:25–27 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
23
max_undo = 1000
24
25
def
__init__(self):
26
Delegator.__init__(self)
27
self.reset_undo()
28
29
def
setdelegate(self, delegate):
30
if
self.delegate is not None:
Callers
nothing calls this directly
Calls
2
reset_undo
Method · 0.95
__init__
Method · 0.45
Tested by
no test coverage detected