Kaydet (Commit) f5a1599e authored tarafından Gustavo Niemeyer's avatar Gustavo Niemeyer

Minor aesthetic change in sre_parse.py, as suggested by Mike Coleman.

üst bdbdfd73
...@@ -738,8 +738,8 @@ def parse_template(source, pattern): ...@@ -738,8 +738,8 @@ def parse_template(source, pattern):
isoctal = False isoctal = False
if s.next in DIGITS: if s.next in DIGITS:
this = this + sget() this = this + sget()
if (c in OCTDIGITS and s.next in OCTDIGITS and if (c in OCTDIGITS and this[2] in OCTDIGITS and
this[2] in OCTDIGITS): s.next in OCTDIGITS):
this = this + sget() this = this + sget()
isoctal = True isoctal = True
literal(makechar(int(this[1:], 8) & 0xff)) literal(makechar(int(this[1:], 8) & 0xff))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment