We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a847ccb commit 9c14f2fCopy full SHA for 9c14f2f
1 file changed
Tools/scripts/h2py.py
@@ -87,7 +87,7 @@ def pytify(body):
87
for p in ignores:
88
body = p.sub(' ', body)
89
# replace char literals by ord(...)
90
- body = p_char.sub('ord(\\0)', body)
+ body = p_char.sub("ord('\\1')", body)
91
# Compute negative hexadecimal constants
92
start = 0
93
UMAX = 2*(sys.maxsize+1)
0 commit comments