]> granicus.if.org Git - python/commitdiff
Fix typo.
authorMartin v. Löwis <martin@v.loewis.de>
Mon, 31 Oct 2011 08:01:22 +0000 (09:01 +0100)
committerMartin v. Löwis <martin@v.loewis.de>
Mon, 31 Oct 2011 08:01:22 +0000 (09:01 +0100)
Modules/zipimport.c

index 2708c80e0e1753c0f707e8606b6092224379b9a7..604363e7a96c03be1594069e3a95a38c45c46fc3 100644 (file)
@@ -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