Merged revisions 69425 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r69425 | nick.coghlan | 2009-02-08 13:17:00 +1000 (Sun, 08 Feb 2009) | 1 line
Issue #4512 closeout: Make ZipImport.get_filename() a public method
........
diff --git a/Modules/zipimport.c b/Modules/zipimport.c
index ba37f8b..53bc799 100644
--- a/Modules/zipimport.c
+++ b/Modules/zipimport.c
@@ -363,7 +363,7 @@
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 @@
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 @@
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},