mirror of
https://github.com/python/cpython.git
synced 2025-12-10 11:00:14 +00:00
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 ........
This commit is contained in:
parent
3f48ae35c7
commit
9a1d6e3022
4 changed files with 21 additions and 9 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue