]> granicus.if.org Git - python/commitdiff
No need to import __builtin__, spotted by Skip.
authorJust van Rossum <just@letterror.com>
Tue, 19 Nov 2002 23:01:20 +0000 (23:01 +0000)
committerJust van Rossum <just@letterror.com>
Tue, 19 Nov 2002 23:01:20 +0000 (23:01 +0000)
Mac/Lib/plistlib.py

index 9413fd13ae29271591a1b0396592d3cd29701528..c3d0ed0760e90b06d4f4eb6ee8321eb1fbce98e5 100644 (file)
@@ -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__":