[Python-checkins] Fix a grammatical problem and reword for clarity. (#4257)

Barry Warsaw webhook-mailer at python.org
Fri Nov 3 16:45:49 EDT 2017


https://github.com/python/cpython/commit/93952f881500053057c2e08c4b253ac61233d7db
commit: 93952f881500053057c2e08c4b253ac61233d7db
branch: master
author: Barry Warsaw <barry at python.org>
committer: GitHub <noreply at github.com>
date: 2017-11-03T13:45:46-07:00
summary:

Fix a grammatical problem and reword for clarity. (#4257)

bpo-31936

files:
M Doc/reference/import.rst

diff --git a/Doc/reference/import.rst b/Doc/reference/import.rst
index 7fbf8ed9d78..881e0aed32e 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



More information about the Python-checkins mailing list