mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
#6910 - for->or typo
This commit is contained in:
parent
6e9b1df499
commit
4bbfa2a099
1 changed files with 1 additions and 1 deletions
|
@ -798,7 +798,7 @@ modules which were imported and used within the module).
|
|||
|
||||
The :keyword:`from` form with ``*`` may only occur in a module scope. The wild
|
||||
card form of import --- ``import *`` --- is only allowed at the module level.
|
||||
Attempting to use it in class for function definitions will raise a
|
||||
Attempting to use it in class or function definitions will raise a
|
||||
:exc:`SyntaxError`.
|
||||
|
||||
.. index::
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue