summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorNick Coghlan <ncoghlan@gmail.com>2009-02-08 03:37:27 (GMT)
committerNick Coghlan <ncoghlan@gmail.com>2009-02-08 03:37:27 (GMT)
commit9a1d6e3022c8eb3cc3b05a30ea975da971bd5938 (patch)
tree14c1d51e518f7ea189700355f1b2a004baf1e871 /Doc
parent3f48ae35c710c5e5101d5de6721b1e2ccb56df68 (diff)
downloadcpython-9a1d6e3022c8eb3cc3b05a30ea975da971bd5938.zip
cpython-9a1d6e3022c8eb3cc3b05a30ea975da971bd5938.tar.gz
cpython-9a1d6e3022c8eb3cc3b05a30ea975da971bd5938.tar.bz2
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 ........
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/zipimport.rst9
1 files changed, 9 insertions, 0 deletions
diff --git a/Doc/library/zipimport.rst b/Doc/library/zipimport.rst
index 912378e..3fd0595 100644
--- a/Doc/library/zipimport.rst
+++ b/Doc/library/zipimport.rst
@@ -88,6 +88,15 @@ zipimporter Objects
file wasn't found.
+ .. method:: get_filename(fullname)
+
+ Return the value ``__file__`` would be set to if the specified module
+ was imported. Raise :exc:`ZipImportError` if the module couldn't be
+ found.
+
+ .. versionadded:: 3.1
+
+
.. method:: get_source(fullname)
Return the source code for the specified module. Raise