summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2016-06-06 01:32:45 (GMT)
committerTerry Jan Reedy <tjreedy@udel.edu>2016-06-06 01:32:45 (GMT)
commit2e747c4b8f9db654ac3ee1411ab53e8774309595 (patch)
tree97ffc5cb1397c6ab24bafe708f1adb18c2932c7e
parent223b874c006db4c8cb765ecec1b1d3aebcfce3fa (diff)
downloadcpython-2e747c4b8f9db654ac3ee1411ab53e8774309595.zip
cpython-2e747c4b8f9db654ac3ee1411ab53e8774309595.tar.gz
cpython-2e747c4b8f9db654ac3ee1411ab53e8774309595.tar.bz2
Issue #27156: Remove more unused idlelib code.
-rw-r--r--Lib/idlelib/macosx.py10
-rw-r--r--Lib/idlelib/stackviewer.py3
2 files changed, 0 insertions, 13 deletions
diff --git a/Lib/idlelib/macosx.py b/Lib/idlelib/macosx.py
index 618cc26..8c50a59 100644
--- a/Lib/idlelib/macosx.py
+++ b/Lib/idlelib/macosx.py
@@ -5,16 +5,6 @@ import sys
import tkinter
import warnings
-def runningAsOSXApp():
- warnings.warn("runningAsOSXApp() is deprecated, use isAquaTk()",
- DeprecationWarning, stacklevel=2)
- return isAquaTk()
-
-def isCarbonAquaTk(root):
- warnings.warn("isCarbonAquaTk(root) is deprecated, use isCarbonTk()",
- DeprecationWarning, stacklevel=2)
- return isCarbonTk()
-
_tk_type = None
def _initializeTkVariantTests(root):
diff --git a/Lib/idlelib/stackviewer.py b/Lib/idlelib/stackviewer.py
index 5c188f0..87c964e 100644
--- a/Lib/idlelib/stackviewer.py
+++ b/Lib/idlelib/stackviewer.py
@@ -120,9 +120,6 @@ class VariablesTreeItem(ObjectTreeItem):
sublist.append(item)
return sublist
- def keys(self): # unused, left for possible 3rd party use
- return list(self.object.keys())
-
def _stack_viewer(parent):
root = tk.Tk()
root.title("Test StackViewer")