[Python-checkins] cpython: Fix typo.

martin.v.loewis python-checkins at python.org
Mon Oct 31 09:01:29 CET 2011


http://hg.python.org/cpython/rev/4df454a9753f
changeset:   73237:4df454a9753f
user:        Martin v. Löwis <martin at v.loewis.de>
date:        Mon Oct 31 09:01:22 2011 +0100
summary:
  Fix typo.

files:
  Modules/zipimport.c |  5 ++---
  1 files changed, 2 insertions(+), 3 deletions(-)


diff --git a/Modules/zipimport.c b/Modules/zipimport.c
--- a/Modules/zipimport.c
+++ b/Modules/zipimport.c
@@ -87,8 +87,7 @@
     }
 
 #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 @@
         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

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list