summaryrefslogtreecommitdiffstats
path: root/Lib/sre_constants.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2000-04-10 17:10:48 (GMT)
committerGuido van Rossum <guido@python.org>2000-04-10 17:10:48 (GMT)
commitb81e70ebdb28246e427249d386518bc03d08c959 (patch)
tree4f2ba435b4815d7ff7f4f6abab7505fb16f4c7c7 /Lib/sre_constants.py
parent5de435a245fd7158b1a8db1201154ad73fd4bf13 (diff)
downloadcpython-b81e70ebdb28246e427249d386518bc03d08c959.zip
cpython-b81e70ebdb28246e427249d386518bc03d08c959.tar.gz
cpython-b81e70ebdb28246e427249d386518bc03d08c959.tar.bz2
Fredrik Lundh: new snapshot. Mostly reindented.
This one should work with unicode expressions, and compile a bit more silently.
Diffstat (limited to 'Lib/sre_constants.py')
-rw-r--r--Lib/sre_constants.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/sre_constants.py b/Lib/sre_constants.py
index f05c797..af88309 100644
--- a/Lib/sre_constants.py
+++ b/Lib/sre_constants.py
@@ -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"