cpython (3.3): Issue 18189: remove unused methods in idlelib.Delegator.Delegator.

http://hg.python.org/cpython/rev/9d65716367c1 changeset: 84393:9d65716367c1 branch: 3.3 parent: 84389:19bc00996e74 user: Terry Jan Reedy <tjreedy@udel.edu> date: Sun Jun 30 16:52:19 2013 -0400 summary: 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. files: Lib/idlelib/Delegator.py | 8 -------- 1 files changed, 0 insertions(+), 8 deletions(-) diff --git a/Lib/idlelib/Delegator.py b/Lib/idlelib/Delegator.py --- a/Lib/idlelib/Delegator.py +++ b/Lib/idlelib/Delegator.py @@ -20,14 +20,6 @@ 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 -- Repository URL: http://hg.python.org/cpython
participants (1)
-
terry.reedy