summaryrefslogtreecommitdiffstats
path: root/Modules/zipimport.c
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2011-10-31 08:01:22 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2011-10-31 08:01:22 (GMT)
commitcfa61292767db16bff6bb5c564a802b3e1e7f521 (patch)
treee5bbc807c063111311b1a93007882edce557f5d1 /Modules/zipimport.c
parent0d3072e98d9be9cfcdccefd60dbaca2c19e8d889 (diff)
downloadcpython-cfa61292767db16bff6bb5c564a802b3e1e7f521.zip
cpython-cfa61292767db16bff6bb5c564a802b3e1e7f521.tar.gz
cpython-cfa61292767db16bff6bb5c564a802b3e1e7f521.tar.bz2
Fix typo.
Diffstat (limited to 'Modules/zipimport.c')
-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