commit | 7c9c667633d445e4df88868d630a0af4bc63d2f8 | [log] [tgz] |
---|---|---|
author | Damien George <damien.p.george@gmail.com> | Sat Jan 25 00:17:36 2014 +0000 |
committer | Damien George <damien.p.george@gmail.com> | Sat Jan 25 00:17:36 2014 +0000 |
tree | b130d6dc98ba1ecd47d8886ea13048a88a5a6865 | |
parent | fcd4ae827171717ea501bf833a6b6abd70edc5a3 [diff] [blame] |
py: Implement iterator support for object that has __getitem__. Addresses Issue #203.
diff --git a/py/qstrdefs.h b/py/qstrdefs.h index f2c4dfd..e76efaf 100644 --- a/py/qstrdefs.h +++ b/py/qstrdefs.h
@@ -13,6 +13,10 @@ Q(__qualname__) Q(__repl_print__) +Q(__getitem__) +Q(__add__) +Q(__sub__) + Q(micropython) Q(byte_code) Q(native)