summaryrefslogtreecommitdiffstats
path: root/Mac
diff options
context:
space:
mode:
authorJust van Rossum <just@letterror.com>2002-11-19 23:01:20 (GMT)
committerJust van Rossum <just@letterror.com>2002-11-19 23:01:20 (GMT)
commit247e16ef802adde4143f795ea37ec2e4032a918e (patch)
tree1fd398756e3657b990ad784446d93cb989ec939a /Mac
parent0ec2744fb8416c553a266230021c8124a6f38553 (diff)
downloadcpython-247e16ef802adde4143f795ea37ec2e4032a918e.zip
cpython-247e16ef802adde4143f795ea37ec2e4032a918e.tar.gz
cpython-247e16ef802adde4143f795ea37ec2e4032a918e.tar.bz2
No need to import __builtin__, spotted by Skip.
Diffstat (limited to 'Mac')
-rw-r--r--Mac/Lib/plistlib.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/Mac/Lib/plistlib.py b/Mac/Lib/plistlib.py
index 9413fd1..c3d0ed0 100644
--- a/Mac/Lib/plistlib.py
+++ b/Mac/Lib/plistlib.py
@@ -387,10 +387,10 @@ if sys.version_info[:2] < (2, 3):
True = bool(1)
False = bool(0)
else:
- import __builtin__
- True = __builtin__.True
- False = __builtin__.False
- bool = __builtin__.bool
+ # Bind the boolean builtins to local names
+ True = True
+ False = False
+ bool = bool
if __name__ == "__main__":