projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d3072e
)
Fix typo.
author
Martin v. Löwis
<martin@v.loewis.de>
Mon, 31 Oct 2011 08:01:22 +0000
(09:01 +0100)
committer
Martin v. Löwis
<martin@v.loewis.de>
Mon, 31 Oct 2011 08:01:22 +0000
(09:01 +0100)
Modules/zipimport.c
patch
|
blob
|
history
diff --git
a/Modules/zipimport.c
b/Modules/zipimport.c
index 2708c80e0e1753c0f707e8606b6092224379b9a7..604363e7a96c03be1594069e3a95a38c45c46fc3 100644
(file)
--- 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