From 93952f881500053057c2e08c4b253ac61233d7db Mon Sep 17 00:00:00 2001 From: Barry Warsaw Date: Fri, 3 Nov 2017 13:45:46 -0700 Subject: [PATCH] Fix a grammatical problem and reword for clarity. (#4257) bpo-31936 --- Doc/reference/import.rst | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/Doc/reference/import.rst b/Doc/reference/import.rst index 7fbf8ed9d7..881e0aed32 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 -- 2.40.0