From: Guido van Rossum Date: Tue, 28 May 1996 23:01:05 +0000 (+0000) Subject: change Mac creator/type X-Git-Tag: v1.4b1~107 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=dc42b8aa3dc22fc4bbe79eff5f3c1315eddb6388;p=python change Mac creator/type --- diff --git a/Lib/py_compile.py b/Lib/py_compile.py index 3c2809b000..2e68ba82c5 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')