New submission from Gregor Lingl <gregorli...@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 <rep...@bugs.python.org>
<http://bugs.python.org/issue6618>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to