commit | f5a1599ebe838ebd99ef966e56debb48d3826d30 | [log] [tgz] |
---|---|---|
author | Gustavo Niemeyer <gustavo@niemeyer.net> | Fri Sep 03 20:15:56 2004 +0000 |
committer | Gustavo Niemeyer <gustavo@niemeyer.net> | Fri Sep 03 20:15:56 2004 +0000 |
tree | f2adfe02934e91ebbb7b0ff6a338b540152329ad | |
parent | bdbdfd731dc2bf4b5490254c0df4b7c7e90ef751 [diff] [blame] |
Minor aesthetic change in sre_parse.py, as suggested by Mike Coleman.
diff --git a/Lib/sre_parse.py b/Lib/sre_parse.py index 3e27145..5066615 100644 --- a/Lib/sre_parse.py +++ b/Lib/sre_parse.py
@@ -738,8 +738,8 @@ isoctal = False if s.next in DIGITS: this = this + sget() - if (c in OCTDIGITS and s.next in OCTDIGITS and - this[2] in OCTDIGITS): + if (c in OCTDIGITS and this[2] in OCTDIGITS and + s.next in OCTDIGITS): this = this + sget() isoctal = True literal(makechar(int(this[1:], 8) & 0xff))