summaryrefslogtreecommitdiff
path: root/Python/import.c
diff options
context:
space:
mode:
Diffstat (limited to 'Python/import.c')
-rw-r--r--Python/import.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/import.c b/Python/import.c
index f1efccb871..99c811fb84 100644
--- a/Python/import.c
+++ b/Python/import.c
@@ -698,7 +698,7 @@ write_compiled_module(co, cpathname, mtime)
if (Py_VerboseFlag)
PySys_WriteStderr("# wrote %s\n", cpathname);
#ifdef macintosh
- setfiletype(cpathname, 'Pyth', 'PYC ');
+ PyMac_setfiletype(cpathname, 'Pyth', 'PYC ');
#endif
}