PEP 284, Integer for-loops
Skip Montanaro
skip at pobox.com
Wed Mar 6 12:25:55 EST 2002
David> Also, target_list isn't right because the proposed for-loop
David> syntax only allows looping over one integer at a time, not a
David> tuple of integers.
Yeah, sorry for the false alarm. In reviewing the Grammar file, it's not
apparent there is a simple production that would restrict the grammar to
scalars that can appear on the lhs of an assignment statement.
Skip
More information about the Python-list
mailing list