summaryrefslogtreecommitdiff
path: root/py/qstrdefs.h
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-02-02 22:07:44 +0000
committerDamien George <damien.p.george@gmail.com>2014-02-02 22:07:44 +0000
commit4acb2452b30f6a8bbcf8fe46b05e56bb470a7026 (patch)
treeda36c8ed709f0be395c2f81a8f589126eeb7af07 /py/qstrdefs.h
parent0473e2790b87b17ad5e065873b771d159cad577a (diff)
py: Add very basic implementation of dir() builtin.
Only works on modules and class instances.
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 8bf393697..592b84907 100644
--- a/py/qstrdefs.h
+++ b/py/qstrdefs.h
@@ -51,6 +51,7 @@ Q(callable)
Q(chr)
Q(complex)
Q(dict)
+Q(dir)
Q(divmod)
Q(enumerate)
Q(eval)