diff options
author | Brett Cannon <brett@python.org> | 2014-02-06 14:49:53 (GMT) |
---|---|---|
committer | Brett Cannon <brett@python.org> | 2014-02-06 14:49:53 (GMT) |
commit | 3303b6abc8ac9e28a614cb1fa47a57ace427e837 (patch) | |
tree | 1153328401cbbe597fa210bcfd2cbe86aeb9ea15 /Doc | |
parent | f811bbfe6c41d90dd1ad1c68d05a84541ecdf162 (diff) | |
parent | 07fbd7847356c704ef30f9a4230a60281422dd39 (diff) | |
download | cpython-3303b6abc8ac9e28a614cb1fa47a57ace427e837.zip cpython-3303b6abc8ac9e28a614cb1fa47a57ace427e837.tar.gz cpython-3303b6abc8ac9e28a614cb1fa47a57ace427e837.tar.bz2 |
Merge for issue #20488
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/importlib.rst | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/Doc/library/importlib.rst b/Doc/library/importlib.rst index e2c826c..a81ccfd 100644 --- a/Doc/library/importlib.rst +++ b/Doc/library/importlib.rst @@ -1,8 +1,8 @@ -:mod:`importlib` -- An implementation of :keyword:`import` -========================================================== +:mod:`importlib` -- The implementation of :keyword:`import` +=========================================================== .. module:: importlib - :synopsis: An implementation of the import machinery. + :synopsis: The implementation of the import machinery. .. moduleauthor:: Brett Cannon <brett@python.org> .. sectionauthor:: Brett Cannon <brett@python.org> @@ -13,17 +13,16 @@ Introduction ------------ -The purpose of the :mod:`importlib` package is two-fold. One is to provide an +The purpose of the :mod:`importlib` package is two-fold. One is to provide the implementation of the :keyword:`import` statement (and thus, by extension, the :func:`__import__` function) in Python source code. This provides an implementation of :keyword:`import` which is portable to any Python -interpreter. This also provides a reference implementation which is easier to +interpreter. This also provides an implementation which is easier to comprehend than one implemented in a programming language other than Python. Two, the components to implement :keyword:`import` are exposed in this package, making it easier for users to create their own custom objects (known generically as an :term:`importer`) to participate in the import process. -Details on custom importers can be found in :pep:`302`. .. seealso:: @@ -53,6 +52,9 @@ Details on custom importers can be found in :pep:`302`. :pep:`366` Main module explicit relative imports + :pep:`451` + A ModuleSpec Type for the Import System + :pep:`3120` Using UTF-8 as the Default Source Encoding |