summaryrefslogtreecommitdiff
path: root/py/qstrdefs.h
diff options
context:
space:
mode:
authorstijn <stinos@zoho.com>2014-12-23 14:06:55 +0100
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2016-01-03 20:51:26 +0200
commit3c014a67ea0c2d080905e40a1e45638fd868dccf (patch)
treea90386cf3dc16a8015313dadecb8dbbd98135f31 /py/qstrdefs.h
parent7281d95aee4084603964c1914b5f08c647669994 (diff)
py: Implement __dict__ for instances.
Note that even though wrapped in MICROPY_CPYTHON_COMPAT, it is not fully compatible because the modifications to the dictionary do not propagate to the actual instance members.
Diffstat (limited to 'py/qstrdefs.h')
-rw-r--r--py/qstrdefs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/py/qstrdefs.h b/py/qstrdefs.h
index 3be6168a8..496896dad 100644
--- a/py/qstrdefs.h
+++ b/py/qstrdefs.h
@@ -46,6 +46,7 @@ Q(__locals__)
Q(__main__)
Q(__module__)
Q(__name__)
+Q(__dict__)
Q(__hash__)
Q(__next__)
Q(__qualname__)