summaryrefslogtreecommitdiff
path: root/Lib/idlelib/boolcheck.py
diff options
context:
space:
mode:
authorKurt B. Kaiser <kbk@shore.net>2003-06-14 03:33:20 +0000
committerKurt B. Kaiser <kbk@shore.net>2003-06-14 03:33:20 +0000
commitb3a0a666f26546ca0b39e61b2dc6e2f9c7d2926e (patch)
tree8f0e8231ac76f2b45f21e8dbed43f54cb8947740 /Lib/idlelib/boolcheck.py
parentae8bbff2313afc3ad9a5c69795ca4667fae45041 (diff)
downloadcpython-git-b3a0a666f26546ca0b39e61b2dc6e2f9c7d2926e.tar.gz
Remove the 2.2 compatibility module boolcheck.py and related code
M PyShell.py R boolcheck.py M run.py
Diffstat (limited to 'Lib/idlelib/boolcheck.py')
-rw-r--r--Lib/idlelib/boolcheck.py9
1 files changed, 0 insertions, 9 deletions
diff --git a/Lib/idlelib/boolcheck.py b/Lib/idlelib/boolcheck.py
deleted file mode 100644
index f682232e49..0000000000
--- 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