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
9611b5ef
Commit
9611b5ef
authored
Mar 25, 2009
by
Benjamin Peterson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wild card import is only allowed at the module level
parent
0468df3d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
Doc/reference/simple_stmts.rst
Doc/reference/simple_stmts.rst
+4
-4
No files found.
Doc/reference/simple_stmts.rst
View file @
9611b5ef
...
@@ -794,10 +794,10 @@ namespace which do not begin with an underscore character (``'_'``).
...
@@ -794,10 +794,10 @@ namespace which do not begin with an underscore character (``'_'``).
accidentally
exporting
items
that
are
not
part
of
the
API
(
such
as
library
accidentally
exporting
items
that
are
not
part
of
the
API
(
such
as
library
modules
which
were
imported
and
used
within
the
module
).
modules
which
were
imported
and
used
within
the
module
).
The
:
keyword
:`
from
`
form
with
``*``
may
only
occur
in
a
module
scope
.
If
the
The
:
keyword
:`
from
`
form
with
``*``
may
only
occur
in
a
module
scope
.
The
wild
wild
card
form
of
import
---
``
import
*``
---
is
used
in
a
function
and
the
card
form
of
import
---
``
import
*``
---
is
only
allowed
at
the
module
level
.
function
contains
or
is
a
nested
block
with
free
variables
,
the
compiler
will
Attempting
to
use
it
in
class
for
function
definitions
will
raise
a
raise
a
:
exc
:`
SyntaxError
`.
:
exc
:`
SyntaxError
`.
..
index
::
..
index
::
single
:
relative
;
import
single
:
relative
;
import
...
...
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