diff options
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2014-03-29 04:10:11 +0200 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2014-03-29 04:39:24 +0200 |
commit | 44307d5ef8f1c78d0a393e8ab842d18799d56517 (patch) | |
tree | c8bb8372d31106191864cb7d009adae8fc61c6de /py/qstrdefs.h | |
parent | 682f9e639d140849a5b33aecb74e2e2cb2c6ee77 (diff) | |
download | micropython-44307d5ef8f1c78d0a393e8ab842d18799d56517.tar.gz micropython-44307d5ef8f1c78d0a393e8ab842d18799d56517.zip |
vm: Implement "with" statement (SETUP_WITH and WITH_CLEANUP bytecodes).
Diffstat (limited to 'py/qstrdefs.h')
-rw-r--r-- | py/qstrdefs.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/py/qstrdefs.h b/py/qstrdefs.h index 3be6295067..457043938b 100644 --- a/py/qstrdefs.h +++ b/py/qstrdefs.h @@ -16,6 +16,8 @@ Q(__qualname__) Q(__repl_print__) Q(__bool__) +Q(__enter__) +Q(__exit__) Q(__len__) Q(__iter__) Q(__getitem__) |