diff options
author | Fredrik Lundh <fredrik@pythonware.com> | 2000-10-07 17:38:23 +0000 |
---|---|---|
committer | Fredrik Lundh <fredrik@pythonware.com> | 2000-10-07 17:38:23 +0000 |
commit | 85ed5a029a3c3fc30e52ba28e0ff7cf81dcbc8f7 (patch) | |
tree | 8ddf420f6d4fd124522236541bd46d3d9df298cd /Lib/sre_constants.py | |
parent | 714cd4e2ac71c0a10be160eb2ad59653593e706b (diff) | |
download | cpython-85ed5a029a3c3fc30e52ba28e0ff7cf81dcbc8f7.tar.gz |
Fixed too ambitious "nothing to repeat" check. Closes bug #114033.
Diffstat (limited to 'Lib/sre_constants.py')
-rw-r--r-- | Lib/sre_constants.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/sre_constants.py b/Lib/sre_constants.py index 5a20930ce1..ea649c0482 100644 --- a/Lib/sre_constants.py +++ b/Lib/sre_constants.py @@ -9,6 +9,8 @@ # See the sre.py file for information on usage and redistribution. # +MAXREPEAT = 65535 + # should this really be here? class error(Exception): |