From: Ezio Melotti Date: Wed, 16 Sep 2009 01:18:27 +0000 (+0000) Subject: #6910 - for->or typo X-Git-Tag: v3.2a1~2572 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4bbfa2a099c7fbf2a1f294aafddab27e0f17820e;p=thirdparty%2FPython%2Fcpython.git #6910 - for->or typo --- diff --git a/Doc/reference/simple_stmts.rst b/Doc/reference/simple_stmts.rst index 7387da72e91d..46eea2081ccf 100644 --- a/Doc/reference/simple_stmts.rst +++ b/Doc/reference/simple_stmts.rst @@ -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::