diff options
-rw-r--r-- | Lib/idlelib/PyShell.py | 3 | ||||
-rw-r--r-- | Lib/idlelib/boolcheck.py | 9 | ||||
-rw-r--r-- | Lib/idlelib/run.py | 2 |
3 files changed, 0 insertions, 14 deletions
diff --git a/Lib/idlelib/PyShell.py b/Lib/idlelib/PyShell.py index d65ec27..60fe3c2 100644 --- a/Lib/idlelib/PyShell.py +++ b/Lib/idlelib/PyShell.py @@ -19,9 +19,6 @@ from code import InteractiveInterpreter from Tkinter import * import tkMessageBox -# Preserve 2.2 compatibility for Mac OS X: -import boolcheck - from EditorWindow import EditorWindow, fixwordbreaks from FileList import FileList from ColorDelegator import ColorDelegator diff --git a/Lib/idlelib/boolcheck.py b/Lib/idlelib/boolcheck.py deleted file mode 100644 index f682232..0000000 --- a/Lib/idlelib/boolcheck.py +++ /dev/null @@ -1,9 +0,0 @@ -"boolcheck - import this module to ensure True, False, bool() builtins exist." -try: - True -except NameError: - import __builtin__ - __builtin__.True = 1 - __builtin__.False = 0 - from operator import truth - __builtin__.bool = truth diff --git a/Lib/idlelib/run.py b/Lib/idlelib/run.py index 7ff8b55..be91d54 100644 --- a/Lib/idlelib/run.py +++ b/Lib/idlelib/run.py @@ -7,8 +7,6 @@ import thread import threading import Queue -import boolcheck - import CallTips import RemoteDebugger import RemoteObjectBrowser |