summaryrefslogtreecommitdiff
path: root/py/qstrdefs.h
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-04-15 12:50:21 +0100
committerDamien George <damien.p.george@gmail.com>2014-04-15 12:50:21 +0100
commitb013aea80927ae85461f382c601f8ac40c06497a (patch)
tree3ab8045aca7eb8f7d95dabab2b4a525aac85b969 /py/qstrdefs.h
parent58051117322bc7cd55c0d35168c0563a880c7689 (diff)
py: Fix builtin hex to print prefix.
I was too hasty. Still a one-liner though.
Diffstat (limited to 'py/qstrdefs.h')
-rw-r--r--py/qstrdefs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/py/qstrdefs.h b/py/qstrdefs.h
index e9f2d8d9a..d18882f69 100644
--- a/py/qstrdefs.h
+++ b/py/qstrdefs.h
@@ -107,7 +107,7 @@ Q(getattr)
Q(globals)
Q(hash)
Q(hex)
-Q(%x)
+Q(%#x)
Q(id)
Q(io)
Q(int)