diff --git a/Lib/py_compile.py b/Lib/py_compile.py index 3c2809b0005..2e68ba82c5b 100644 --- a/Lib/py_compile.py +++ b/Lib/py_compile.py @@ -27,5 +27,5 @@ def compile(file, cfile = None): fc.close() if os.name == 'mac': import macfs - macfs.FSSpec(cfile).SetCreatorType('PYTH', 'PYC ') - macfs.FSSpec(file).SetCreatorType('PYTH', 'TEXT') + macfs.FSSpec(cfile).SetCreatorType('Pyth', 'PYC ') + macfs.FSSpec(file).SetCreatorType('Pyth', 'TEXT')