summaryrefslogtreecommitdiffstats
path: root/Lib/sre_constants.py
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2013-11-23 20:42:43 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2013-11-23 20:42:43 (GMT)
commit5c24d0e504f9271ee095f706b493566ec0162879 (patch)
treedfd3af4fb8e193f3c0780fab3daef24a4beb182d /Lib/sre_constants.py
parentc1207c1bcf732bc3e9c8875cfb0343af98ebc41c (diff)
downloadcpython-5c24d0e504f9271ee095f706b493566ec0162879.zip
cpython-5c24d0e504f9271ee095f706b493566ec0162879.tar.gz
cpython-5c24d0e504f9271ee095f706b493566ec0162879.tar.bz2
Issue #13592: Improved the repr for regular expression pattern objects.
Based on patch by Hugo Lopes Tavares.
Diffstat (limited to 'Lib/sre_constants.py')
-rw-r--r--Lib/sre_constants.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/sre_constants.py b/Lib/sre_constants.py
index 5898d54..23e3516 100644
--- a/Lib/sre_constants.py
+++ b/Lib/sre_constants.py
@@ -250,6 +250,8 @@ if __name__ == "__main__":
f.write("#define SRE_FLAG_DOTALL %d\n" % SRE_FLAG_DOTALL)
f.write("#define SRE_FLAG_UNICODE %d\n" % SRE_FLAG_UNICODE)
f.write("#define SRE_FLAG_VERBOSE %d\n" % SRE_FLAG_VERBOSE)
+ f.write("#define SRE_FLAG_DEBUG %d\n" % SRE_FLAG_DEBUG)
+ f.write("#define SRE_FLAG_ASCII %d\n" % SRE_FLAG_ASCII)
f.write("#define SRE_INFO_PREFIX %d\n" % SRE_INFO_PREFIX)
f.write("#define SRE_INFO_LITERAL %d\n" % SRE_INFO_LITERAL)