Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4bbfa2a

Browse files
committed
#6910 - for->or typo
1 parent 6e9b1df commit 4bbfa2a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Doc/reference/simple_stmts.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -798,7 +798,7 @@ modules which were imported and used within the module).
798798

799799
The :keyword:`from` form with ``*`` may only occur in a module scope. The wild
800800
card form of import --- ``import *`` --- is only allowed at the module level.
801-
Attempting to use it in class for function definitions will raise a
801+
Attempting to use it in class or function definitions will raise a
802802
:exc:`SyntaxError`.
803803

804804
.. index::

0 commit comments

Comments
 (0)