summaryrefslogtreecommitdiff
path: root/py/qstrdefs.h
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-04-15 22:03:55 +0100
committerDamien George <damien.p.george@gmail.com>2014-04-15 22:03:55 +0100
commit897fe0c0d0e29875cfa32939237c9a6255c5d044 (patch)
tree9dd2dc8ea2fd07c465b12d81b01c946b8e8120b7 /py/qstrdefs.h
parentd5323f07ff79c20644ff64a247adad54b510a9a9 (diff)
py: Add builtin functions bin and oct, and some tests for them.
Diffstat (limited to 'py/qstrdefs.h')
-rw-r--r--py/qstrdefs.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/py/qstrdefs.h b/py/qstrdefs.h
index d18882f69..20c4db75f 100644
--- a/py/qstrdefs.h
+++ b/py/qstrdefs.h
@@ -83,6 +83,8 @@ Q(all)
Q(any)
Q(args)
Q(array)
+Q(bin)
+Q({:#b})
Q(bool)
Q(bytearray)
Q(bytes)
@@ -122,6 +124,8 @@ Q(max)
Q(min)
Q(namedtuple)
Q(next)
+Q(oct)
+Q(%#o)
Q(open)
Q(ord)
Q(path)