diff options
author | Just van Rossum <just@letterror.com> | 2002-11-19 23:01:20 (GMT) |
---|---|---|
committer | Just van Rossum <just@letterror.com> | 2002-11-19 23:01:20 (GMT) |
commit | 247e16ef802adde4143f795ea37ec2e4032a918e (patch) | |
tree | 1fd398756e3657b990ad784446d93cb989ec939a /Mac/Lib | |
parent | 0ec2744fb8416c553a266230021c8124a6f38553 (diff) | |
download | cpython-247e16ef802adde4143f795ea37ec2e4032a918e.zip cpython-247e16ef802adde4143f795ea37ec2e4032a918e.tar.gz cpython-247e16ef802adde4143f795ea37ec2e4032a918e.tar.bz2 |
No need to import __builtin__, spotted by Skip.
Diffstat (limited to 'Mac/Lib')
-rw-r--r-- | Mac/Lib/plistlib.py | 8 |
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__": |