summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Modules/zipimport.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/Modules/zipimport.c b/Modules/zipimport.c
index 2708c80..604363e 100644
--- a/Modules/zipimport.c
+++ b/Modules/zipimport.c
@@ -87,8 +87,7 @@ zipimporter_init(ZipImporter *self, PyObject *args, PyObject *kwds)
}
#ifdef ALTSEP
- tmp = PyObject_CallMethodId(path, &PyId_replace, "CC",
- ALTSEP, SEP);
+ tmp = _PyObject_CallMethodId(path, &PyId_replace, "CC", ALTSEP, SEP);
if (!tmp)
goto error;
Py_DECREF(path);
@@ -450,7 +449,7 @@ zipimporter_get_data(PyObject *obj, PyObject *args)
return NULL;
#ifdef ALTSEP
- path = PyObject_CallMethodId(path, &PyId_replace, "CC", ALTSEP, SEP);
+ path = _PyObject_CallMethodId(path, &PyId_replace, "CC", ALTSEP, SEP);
if (!path)
return NULL;
#else