[docs] [issue11669] Clarify Lang Ref "Compound statements" footnote
Sandro Tosi
report at bugs.python.org
Sat Jun 25 18:05:24 CEST 2011
Sandro Tosi <sandro.tosi at gmail.com> added the comment:
Just to make explicit what's happening:
>>> try:
... try:
... raise TypeError()
... finally:
... raise ValueError()
... except TypeError as e:
... print('mmm')
...
Traceback (most recent call last):
File "<stdin>", line 3, in <module>
TypeError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<stdin>", line 5, in <module>
ValueError
while
>>> try:
... try:
... raise TypeError()
... finally:
... raise ValueError()
... except ValueError as e:
... print ('mmm')
...
mmm
----------
nosy: +sandro.tosi
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11669>
_______________________________________
More information about the docs
mailing list