summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2013-06-30 20:52:19 (GMT)
committerTerry Jan Reedy <tjreedy@udel.edu>2013-06-30 20:52:19 (GMT)
commit56fe854a77614431320f38f1b9a0a84625974dd9 (patch)
tree449a3aef2621724da2ba15eb38a4d07264cac89a /Lib/idlelib
parentc170f37d382282023171e4f304500a07cb6fcd99 (diff)
downloadcpython-56fe854a77614431320f38f1b9a0a84625974dd9.zip
cpython-56fe854a77614431320f38f1b9a0a84625974dd9.tar.gz
cpython-56fe854a77614431320f38f1b9a0a84625974dd9.tar.bz2
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.
Diffstat (limited to 'Lib/idlelib')
-rw-r--r--Lib/idlelib/Delegator.py8
1 files changed, 0 insertions, 8 deletions
diff --git a/Lib/idlelib/Delegator.py b/Lib/idlelib/Delegator.py
index 93253b9..362c7cdf 100644
--- a/Lib/idlelib/Delegator.py
+++ b/Lib/idlelib/Delegator.py
@@ -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