From: Just van Rossum Date: Tue, 19 Nov 2002 23:01:20 +0000 (+0000) Subject: No need to import __builtin__, spotted by Skip. X-Git-Tag: v2.3c1~3350 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=247e16ef802adde4143f795ea37ec2e4032a918e;p=python No need to import __builtin__, spotted by Skip. --- diff --git a/Mac/Lib/plistlib.py b/Mac/Lib/plistlib.py index 9413fd13ae..c3d0ed0760 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__":