Kaydet (Commit) 56fe854a authored tarafından Terry Jan Reedy's avatar Terry Jan Reedy

Issue 18189: remove unused methods in idlelib.Delegator.Delegator.

Idle code already uses x.delegate instead of x.getdelegate().
The printed report must have been for testing.
üst c170f37d
......@@ -20,14 +20,6 @@ class Delegator:
pass
self.__cache.clear()
def cachereport(self):
keys = list(self.__cache.keys())
keys.sort()
print(keys)
def setdelegate(self, delegate):
self.resetcache()
self.delegate = delegate
def getdelegate(self):
return self.delegate
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment