[Python-Dev] Summary of "dynamic attribute access" discussion

skip at pobox.com skip at pobox.com
Wed Feb 14 13:02:02 CET 2007


    Greg> skip at pobox.com wrote:
    Greg> for (x in seq1, y in seq2):

    >> That's already valid syntax though.

    Greg> No, it's not...

    >>>> for (x in seq1, y in seq2):
    Greg>    File "<stdin>", line 1
    Greg>      for (x in seq1, y in seq2):
    Greg>                                ^
    Greg> SyntaxError: invalid syntax

Ah, yeah.  Misread it and just focused on the bit that looked like a
tuple...

Skip


More information about the Python-Dev mailing list