diff options
| author | Ezio Melotti <ezio.melotti@gmail.com> | 2013-01-11 06:44:25 (GMT) |
|---|---|---|
| committer | Ezio Melotti <ezio.melotti@gmail.com> | 2013-01-11 06:44:25 (GMT) |
| commit | ee46b6c5c485025a61b34a27b6235242f16b8686 (patch) | |
| tree | 5eeacb8179afcc97b0f318ef74a0b0ebba5c32ef /Lib/sre_parse.py | |
| parent | 2645936e278e0f034701db2c3378af1da589e628 (diff) | |
| parent | adfbb8e8ec7c7db027d403a443ca9c00347b987a (diff) | |
| download | cpython-ee46b6c5c485025a61b34a27b6235242f16b8686.zip cpython-ee46b6c5c485025a61b34a27b6235242f16b8686.tar.gz cpython-ee46b6c5c485025a61b34a27b6235242f16b8686.tar.bz2 | |
#13899: merge with 3.3.
Diffstat (limited to 'Lib/sre_parse.py')
| -rw-r--r-- | Lib/sre_parse.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/sre_parse.py b/Lib/sre_parse.py index 6411475..1298d48 100644 --- a/Lib/sre_parse.py +++ b/Lib/sre_parse.py @@ -245,7 +245,7 @@ def _class_escape(source, escape): if code: return code code = CATEGORIES.get(escape) - if code: + if code and code[0] == IN: return code try: c = escape[1:2] |
