diff options
Diffstat (limited to 'Lib/idlelib/boolcheck.py')
-rw-r--r-- | Lib/idlelib/boolcheck.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Lib/idlelib/boolcheck.py b/Lib/idlelib/boolcheck.py index bc988d7..f682232 100644 --- a/Lib/idlelib/boolcheck.py +++ b/Lib/idlelib/boolcheck.py @@ -1,5 +1,5 @@ "boolcheck - import this module to ensure True, False, bool() builtins exist." -try: +try: True except NameError: import __builtin__ @@ -7,4 +7,3 @@ except NameError: __builtin__.False = 0 from operator import truth __builtin__.bool = truth - |