This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author gregorlingl
Recipients georg.brandl, gregorlingl
Date 2009-08-01.21:55:14
SpamBayes Score 2.7940985e-05
Marked as misclassified No
Message-id <1249163716.22.0.790124274674.issue6618@psf.upfronthosting.co.za>
In-reply-to
Content
Error in:

Python v3.1 documentation >> The Python language reference >>

In the listing at the end of section 5.2.9 Yield expressions,
line 7:

...             except Exception, e:

is syntactically incorrect and consequently raises a Syntax Error.
Should read:

...             except Exception as e:
History
Date User Action Args
2009-08-01 21:55:16gregorlinglsetrecipients: + gregorlingl, georg.brandl
2009-08-01 21:55:16gregorlinglsetmessageid: <1249163716.22.0.790124274674.issue6618@psf.upfronthosting.co.za>
2009-08-01 21:55:14gregorlingllinkissue6618 messages
2009-08-01 21:55:14gregorlinglcreate