[Python-checkins] cpython (2.7): Issue #24790: Restore unused function.

terry.reedy python-checkins at python.org
Thu Aug 27 05:38:25 CEST 2015


https://hg.python.org/cpython/rev/14ac7deba91f
changeset:   97521:14ac7deba91f
branch:      2.7
parent:      97517:919cee158a89
user:        Terry Jan Reedy <tjreedy at udel.edu>
date:        Wed Aug 26 23:37:09 2015 -0400
summary:
  Issue #24790: Restore unused function.

files:
  Lib/idlelib/StackViewer.py |  3 +++
  1 files changed, 3 insertions(+), 0 deletions(-)


diff --git a/Lib/idlelib/StackViewer.py b/Lib/idlelib/StackViewer.py
--- a/Lib/idlelib/StackViewer.py
+++ b/Lib/idlelib/StackViewer.py
@@ -120,6 +120,9 @@
             sublist.append(item)
         return sublist
 
+    def keys(self):  # unused, left for possible 3rd parcy use
+        return self.object.keys()
+
 def _stack_viewer(parent):  # htest #
     root = tk.Tk()
     root.title("Test StackViewer")

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list