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
2b9e1153
Commit
2b9e1153
authored
Jul 15, 2003
by
Fred Drake
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Try to clean up some indexing relevant to the import statement.
Pertains to SF bug #518989.
parent
9ea03cf4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
Doc/ref/ref6.tex
Doc/ref/ref6.tex
+3
-3
No files found.
Doc/ref/ref6.tex
View file @
2b9e1153
...
...
@@ -612,6 +612,9 @@ It continues with the next cycle of the nearest enclosing loop.
\section
{
The
\keyword
{
import
}
statement
\label
{
import
}}
\stindex
{
import
}
\index
{
module!importing
}
\indexii
{
name
}{
binding
}
\kwindex
{
from
}
\begin{productionlist}
\production
{
import
_
stmt
}
...
...
@@ -631,9 +634,6 @@ namespace (of the scope where the \keyword{import} statement occurs).
The first form (without
\keyword
{
from
}
) repeats these steps for each
identifier in the list. The form with
\keyword
{
from
}
performs step
(1) once, and then performs step (2) repeatedly.
\indexii
{
importing
}{
module
}
\indexii
{
name
}{
binding
}
\kwindex
{
from
}
In this context, to ``initialize'' a built-in or extension module means to
call an initialization function that the module must provide for the purpose
...
...
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