[Python-checkins] cpython (3.4): 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/eec5e81b38d1
changeset:   97522:eec5e81b38d1
branch:      3.4
parent:      97518:ce13593e378c
user:        Terry Jan Reedy <tjreedy at udel.edu>
date:        Wed Aug 26 23:37:14 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 list(self.object.keys())
+
 def _stack_viewer(parent):
     root = tk.Tk()
     root.title("Test StackViewer")

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


More information about the Python-checkins mailing list