summaryrefslogtreecommitdiffstatshomepage
path: root/py/qstrdefs.h
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-04-15 12:42:52 +0100
committerDamien George <damien.p.george@gmail.com>2014-04-15 12:42:52 +0100
commit58051117322bc7cd55c0d35168c0563a880c7689 (patch)
treeb8d8bda254e1437b9652208b1f0e3c202b85be46 /py/qstrdefs.h
parent256b319d566a434e5b553fdb9ea5bd8d0eb2af86 (diff)
downloadmicropython-58051117322bc7cd55c0d35168c0563a880c7689.tar.gz
micropython-58051117322bc7cd55c0d35168c0563a880c7689.zip
py: Add hex builtin function.
A one-liner, added especially for @pfalcon :)
Diffstat (limited to 'py/qstrdefs.h')
-rw-r--r--py/qstrdefs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/py/qstrdefs.h b/py/qstrdefs.h
index 80cf681ae7..e9f2d8d9a4 100644
--- a/py/qstrdefs.h
+++ b/py/qstrdefs.h
@@ -106,6 +106,8 @@ Q(from_bytes)
Q(getattr)
Q(globals)
Q(hash)
+Q(hex)
+Q(%x)
Q(id)
Q(io)
Q(int)