diff options
author | Fredrik Lundh <fredrik@pythonware.com> | 2000-10-07 17:38:23 (GMT) |
---|---|---|
committer | Fredrik Lundh <fredrik@pythonware.com> | 2000-10-07 17:38:23 (GMT) |
commit | 13ac9926ac43d3bff39a08301696105208774b6e (patch) | |
tree | 483ca7a4344c3a573e6f3f91262f111c376560e4 /Lib/sre_constants.py | |
parent | 5c0b43d1e26e28608170baf2887a82124b62fa36 (diff) | |
download | cpython-13ac9926ac43d3bff39a08301696105208774b6e.zip cpython-13ac9926ac43d3bff39a08301696105208774b6e.tar.gz cpython-13ac9926ac43d3bff39a08301696105208774b6e.tar.bz2 |
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 5a20930..ea649c0 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): |