Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
93952f88
Commit
93952f88
authored
Nov 03, 2017
by
Barry Warsaw
Committed by
GitHub
Nov 03, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix a grammatical problem and reword for clarity. (#4257)
bpo-31936
parent
dcfb0e3c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
Doc/reference/import.rst
Doc/reference/import.rst
+4
-5
No files found.
Doc/reference/import.rst
View file @
93952f88
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment