summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/Delegator.py
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2013-06-30 20:51:53 (GMT)
committerTerry Jan Reedy <tjreedy@udel.edu>2013-06-30 20:51:53 (GMT)
commit7ab0c310c7065d8a49290d49b445abcead59bfcf (patch)
tree6254f1b14a8bf0ef06e28624095a845606bf1832 /Lib/idlelib/Delegator.py
parent6c1d9dd566405a0da6b27b0847ab5fbe49b5b564 (diff)
downloadcpython-7ab0c310c7065d8a49290d49b445abcead59bfcf.zip
cpython-7ab0c310c7065d8a49290d49b445abcead59bfcf.tar.gz
cpython-7ab0c310c7065d8a49290d49b445abcead59bfcf.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/Delegator.py')
-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 6125591..60a2cad 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 = self.__cache.keys()
- keys.sort()
- print keys
-
def setdelegate(self, delegate):
self.resetcache()
self.delegate = delegate
-
- def getdelegate(self):
- return self.delegate