diff options
Diffstat (limited to 'Lib/sre_constants.py')
-rw-r--r-- | Lib/sre_constants.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/Lib/sre_constants.py b/Lib/sre_constants.py index 3fb5eac322..5898d5411a 100644 --- a/Lib/sre_constants.py +++ b/Lib/sre_constants.py @@ -15,11 +15,7 @@ MAGIC = 20031017 -try: - from _sre import MAXREPEAT -except ImportError: - import _sre - MAXREPEAT = _sre.MAXREPEAT = 65535 +from _sre import MAXREPEAT # SRE standard exception (access as sre.error) # should this really be here? |