summaryrefslogtreecommitdiffstats
path: root/Doc/reference
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>2017-11-03 20:45:46 (GMT)
committerGitHub <noreply@github.com>2017-11-03 20:45:46 (GMT)
commit93952f881500053057c2e08c4b253ac61233d7db (patch)
tree79cfb4e3db2578b1737c6500208a003bdbfb3c08 /Doc/reference
parentdcfb0e3c04f1b29a0d09bb0a81dcd5ee5a5fef1a (diff)
downloadcpython-93952f881500053057c2e08c4b253ac61233d7db.zip
cpython-93952f881500053057c2e08c4b253ac61233d7db.tar.gz
cpython-93952f881500053057c2e08c4b253ac61233d7db.tar.bz2
Fix a grammatical problem and reword for clarity. (#4257)
bpo-31936
Diffstat (limited to 'Doc/reference')
-rw-r--r--Doc/reference/import.rst9
1 files changed, 4 insertions, 5 deletions
diff --git a/Doc/reference/import.rst b/Doc/reference/import.rst
index 7fbf8ed..881e0ae 100644
--- a/Doc/reference/import.rst
+++ b/Doc/reference/import.rst
@@ -28,11 +28,10 @@ such as the importing of parent packages, and the updating of various caches
(including :data:`sys.modules`), only the :keyword:`import` statement performs
a name binding operation.
-When calling :func:`__import__` as part of an import statement, the
-standard builtin :func:`__import__` is called. Other mechanisms for
-invoking the import system (such as :func:`importlib.import_module`) may
-choose to subvert :func:`__import__` and use its own solution to
-implement import semantics.
+When an :keyword:`import` statement is executed, the standard builtin
+:func:`__import__` function is called. Other mechanisms for invoking the
+import system (such as :func:`importlib.import_module`) may choose to bypass
+:func:`__import__` and use their own solutions to implement import semantics.
When a module is first imported, Python searches for the module and if found,
it creates a module object [#fnmo]_, initializing it. If the named module