diff options
Diffstat (limited to 'Lib/py_compile.py')
-rw-r--r-- | Lib/py_compile.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/py_compile.py b/Lib/py_compile.py index 2f4206d4d5..02b01363ac 100644 --- a/Lib/py_compile.py +++ b/Lib/py_compile.py @@ -63,9 +63,9 @@ class PyCompileError(Exception): # Define an internal helper according to the platform if os.name == "mac": - import macfs + import MacOS def set_creator_type(file): - macfs.FSSpec(file).SetCreatorType('Pyth', 'PYC ') + MacOS.SetCreatorAndType(file, 'Pyth', 'PYC ') else: def set_creator_type(file): pass |