summaryrefslogtreecommitdiff
path: root/Modules
diff options
context:
space:
mode:
Diffstat (limited to 'Modules')
-rw-r--r--Modules/zipimport.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Modules/zipimport.c b/Modules/zipimport.c
index ba37f8b2d3..53bc799a7f 100644
--- a/Modules/zipimport.c
+++ b/Modules/zipimport.c
@@ -363,7 +363,7 @@ zipimporter_get_filename(PyObject *obj, PyObject *args)
char *fullname, *modpath;
int ispackage;
- if (!PyArg_ParseTuple(args, "s:zipimporter._get_filename",
+ if (!PyArg_ParseTuple(args, "s:zipimporter.get_filename",
&fullname))
return NULL;
@@ -543,7 +543,7 @@ contain the module, but has no source for it.");
PyDoc_STRVAR(doc_get_filename,
-"_get_filename(fullname) -> filename string.\n\
+"get_filename(fullname) -> filename string.\n\
\n\
Return the filename for the specified module.");
@@ -558,7 +558,7 @@ static PyMethodDef zipimporter_methods[] = {
doc_get_code},
{"get_source", zipimporter_get_source, METH_VARARGS,
doc_get_source},
- {"_get_filename", zipimporter_get_filename, METH_VARARGS,
+ {"get_filename", zipimporter_get_filename, METH_VARARGS,
doc_get_filename},
{"is_package", zipimporter_is_package, METH_VARARGS,
doc_is_package},