summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorEric Snow <ericsnowcurrently@gmail.com>2013-10-03 18:08:55 (GMT)
committerEric Snow <ericsnowcurrently@gmail.com>2013-10-03 18:08:55 (GMT)
commitaf8566c84783a9c5cea852a2e4e2e729be7cf5a8 (patch)
tree7b37fb960be9b95aa1758d24adcc52904b5fdb7f /Doc
parentefbc4752781463dfb6a61baf6ce8b3c0bf3d5ee9 (diff)
downloadcpython-af8566c84783a9c5cea852a2e4e2e729be7cf5a8.zip
cpython-af8566c84783a9c5cea852a2e4e2e729be7cf5a8.tar.gz
cpython-af8566c84783a9c5cea852a2e4e2e729be7cf5a8.tar.bz2
[issue19152] Add ExtensionFileLoader.get_filename().
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/importlib.rst6
1 files changed, 5 insertions, 1 deletions
diff --git a/Doc/library/importlib.rst b/Doc/library/importlib.rst
index efd027b..78187b8 100644
--- a/Doc/library/importlib.rst
+++ b/Doc/library/importlib.rst
@@ -800,7 +800,7 @@ find and load modules.
.. class:: ExtensionFileLoader(fullname, path)
- A concrete implementation of :class:`importlib.abc.InspectLoader` for
+ A concrete implementation of :class:`importlib.abc.ExecutionLoader` for
extension modules.
The *fullname* argument specifies the name of the module the loader is to
@@ -834,6 +834,10 @@ find and load modules.
Returns ``None`` as extension modules do not have source code.
+ .. method:: get_filename(fullname)
+
+ Returns :attr:`path`.
+
:mod:`importlib.util` -- Utility code for importers
---------------------------------------------------