[issue6618] Typo in a listing in 5.2.9 of language reference

Gregor Lingl report at bugs.python.org
Sat Aug 1 23:55:16 CEST 2009


New submission from Gregor Lingl <gregorlingl at users.sourceforge.net>:

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:

----------
assignee: georg.brandl
components: Documentation
messages: 91171
nosy: georg.brandl, gregorlingl
severity: normal
status: open
title: Typo in a listing in 5.2.9 of language reference
versions: Python 3.1

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6618>
_______________________________________


More information about the Python-bugs-list mailing list