diff options
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2014-03-23 21:19:02 +0200 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2014-03-23 22:00:04 +0200 |
commit | f909034400b3552c933582357d1986dae5b70d04 (patch) | |
tree | 31c68a910a97eccc88bd3df61a94e77a30303afa /tests/basics/string-slice.py | |
parent | 4b2b7ceca7915d014a191d3776bc29bdbc5faf02 (diff) | |
download | micropython-f909034400b3552c933582357d1986dae5b70d04.tar.gz micropython-f909034400b3552c933582357d1986dae5b70d04.zip |
py: Implement support for "except Exception as var" clause.
For this, needed to implement DELETE_NAME bytecode (because var bound
in except clause is automatically deleted at its end).
http://docs.python.org/3/reference/compound_stmts.html#except :
"When an exception has been assigned using as target, it is cleared at
the end of the except clause."
Diffstat (limited to 'tests/basics/string-slice.py')
0 files changed, 0 insertions, 0 deletions