A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2005-March/052316.html below:

[Python-Dev] Python 2.4 | 7.3 The for statement

[Python-Dev] Python 2.4 | 7.3 The for statement [Python-Dev] Python 2.4 | 7.3 The for statementAndrew Koenig ark-mlist at att.net
Sun Mar 20 18:31:20 CET 2005
> for_stmt ::= "for" target_list "in" expression_list
>  [ "and" expression ] ":"
>   suite ["else" ":" suite]

It can't work.  The expression_list could be just a variable, as could the
expression, in which case you get

	"for" target_list "in" variable "and" variable ":"

and, of course

	variable "and" variable

is already an expression.  So it's ambiguous.


More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4