diff --git a/Mac/Lib/plistlib.py b/Mac/Lib/plistlib.py index 9413fd13ae2..c3d0ed0760e 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__":