summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2015-08-27 03:37:14 (GMT)
committerTerry Jan Reedy <tjreedy@udel.edu>2015-08-27 03:37:14 (GMT)
commit2050a1061fafa1fc699da6239e307f68b229ff15 (patch)
treefb9ab7e2184ad8a547655fb565cd7b673eb740e9
parent41a27e021e17893ab6a3938ceadd5179ed1e79f0 (diff)
downloadcpython-2050a1061fafa1fc699da6239e307f68b229ff15.zip
cpython-2050a1061fafa1fc699da6239e307f68b229ff15.tar.gz
cpython-2050a1061fafa1fc699da6239e307f68b229ff15.tar.bz2
Issue #24790: Restore unused function.
-rw-r--r--Lib/idlelib/StackViewer.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/idlelib/StackViewer.py b/Lib/idlelib/StackViewer.py
index 36507ee..e62e6f5 100644
--- a/Lib/idlelib/StackViewer.py
+++ b/Lib/idlelib/StackViewer.py
@@ -120,6 +120,9 @@ class VariablesTreeItem(ObjectTreeItem):
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")