[issue43458] Tutorial should mention about variable scope in try/except/finally
Marek M
report at bugs.python.org
Wed Mar 10 00:08:31 EST 2021
New submission from Marek M <deekox at gmail.com>:
It can be helpful to mention that variables defined in try block are visible in except/finally block as well. I did not find this info in Python tutorial and for me (having C++ background) this is quite unexpected feature.
----------
assignee: docs at python
components: Documentation
messages: 388407
nosy: deekox, docs at python
priority: normal
severity: normal
status: open
title: Tutorial should mention about variable scope in try/except/finally
type: enhancement
versions: Python 3.9
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue43458>
_______________________________________
More information about the Python-bugs-list
mailing list