Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(13915)

Delta Between Two Patch Sets: Lib/sre_constants.py

Issue 22578: Add addition attributes to re.error
Left Patch Set: Created 5 years ago
Right Patch Set: Created 5 years ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « Doc/library/re.rst ('k') | Lib/sre_parse.py » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
1 # 1 #
2 # Secret Labs' Regular Expression Engine 2 # Secret Labs' Regular Expression Engine
3 # 3 #
4 # various symbols used by the regular expression engine. 4 # various symbols used by the regular expression engine.
5 # run this script to update the _sre include files! 5 # run this script to update the _sre include files!
6 # 6 #
7 # Copyright (c) 1998-2001 by Secret Labs AB. All rights reserved. 7 # Copyright (c) 1998-2001 by Secret Labs AB. All rights reserved.
8 # 8 #
9 # See the sre.py file for information on usage and redistribution. 9 # See the sre.py file for information on usage and redistribution.
10 # 10 #
(...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after
279 f.write("#define SRE_FLAG_VERBOSE %d\n" % SRE_FLAG_VERBOSE) 279 f.write("#define SRE_FLAG_VERBOSE %d\n" % SRE_FLAG_VERBOSE)
280 f.write("#define SRE_FLAG_DEBUG %d\n" % SRE_FLAG_DEBUG) 280 f.write("#define SRE_FLAG_DEBUG %d\n" % SRE_FLAG_DEBUG)
281 f.write("#define SRE_FLAG_ASCII %d\n" % SRE_FLAG_ASCII) 281 f.write("#define SRE_FLAG_ASCII %d\n" % SRE_FLAG_ASCII)
282 282
283 f.write("#define SRE_INFO_PREFIX %d\n" % SRE_INFO_PREFIX) 283 f.write("#define SRE_INFO_PREFIX %d\n" % SRE_INFO_PREFIX)
284 f.write("#define SRE_INFO_LITERAL %d\n" % SRE_INFO_LITERAL) 284 f.write("#define SRE_INFO_LITERAL %d\n" % SRE_INFO_LITERAL)
285 f.write("#define SRE_INFO_CHARSET %d\n" % SRE_INFO_CHARSET) 285 f.write("#define SRE_INFO_CHARSET %d\n" % SRE_INFO_CHARSET)
286 286
287 f.close() 287 f.close()
288 print("done") 288 print("done")
LEFTRIGHT

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+