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

2009-08-03 Thread Georg Brandl

Georg Brandl ge...@python.org added the comment:

Thanks, fixed in r74297, backported to 3.1 in r74298.

--
resolution:  - fixed
status: open - closed

___
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



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

2009-08-01 Thread Gregor Lingl

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