Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e2cf03e

Browse files
committed
Issue #16144: Fix misleading sentence in reference/import.
Patch by Manuel Pégourié-Gonnard
1 parent 21c95eb commit e2cf03e

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

Doc/reference/import.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@ described in the sections below.
4444

4545
.. versionchanged:: 3.3
4646
The import system has been updated to fully implement the second phase
47-
of PEP 302. There is no longer any implicit import machinery - the full
47+
of :pep:`302`. There is no longer any implicit import machinery - the full
4848
import system is exposed through :data:`sys.meta_path`. In addition,
49-
native namespace package support has been implemented (see PEP 420).
49+
native namespace package support has been implemented (see :pep:`420`).
5050

5151

5252
:mod:`importlib`
@@ -219,9 +219,9 @@ whatever strategy it knows about. Objects that implement both of these
219219
interfaces are referred to as :term:`importers <importer>` - they return
220220
themselves when they find that they can load the requested module.
221221

222-
Python includes a number of default finders and importers. One
223-
knows how to locate frozen modules, and another knows how to locate
224-
built-in modules. A third default finder searches an :term:`import path`
222+
Python includes a number of default finders and importers. The first one
223+
knows how to locate built-in modules, and the second knows how to locate
224+
frozen modules. A third default finder searches an :term:`import path`
225225
for modules. The :term:`import path` is a list of locations that may
226226
name file system paths or zip files. It can also be extended to search
227227
for any locatable resource, such as those identified by URLs.

0 commit comments

Comments
 (0)