mirror of
https://github.com/python/cpython.git
synced 2025-10-09 16:34:44 +00:00
Fredrik Lundh: new snapshot. Mostly reindented.
This one should work with unicode expressions, and compile a bit more silently.
This commit is contained in:
parent
5de435a245
commit
b81e70ebdb
3 changed files with 482 additions and 477 deletions
|
@ -126,6 +126,6 @@ if __name__ == "__main__":
|
|||
f = open("sre_constants.h", "w")
|
||||
f.write("/* generated by sre_constants.py */\n")
|
||||
for k, v in items:
|
||||
f.write("#define SRE_OP_" + string.upper(k) + " " + str(v) + "\n")
|
||||
f.write("#define SRE_OP_" + string.upper(k) + " " + str(v) + "\n")
|
||||
f.close()
|
||||
print "done"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue