mirror of https://github.com/python/cpython
Remove \versionchanged; the text was too complex for the GNU info
conversion to support. Keep the content as normal content, with a note that this applies starting in Python 2.3.
This commit is contained in:
parent
f75d9fce16
commit
788617f8f0
|
@ -916,8 +916,8 @@ RuntimeError: maximum recursion limit exceeded
|
|||
|
||||
You can often restructure your regular expression to avoid recursion.
|
||||
|
||||
\versionchanged[Simple uses of the \regexp{*?} pattern are now
|
||||
Starting with Python 2.3, simple uses of the \regexp{*?} pattern are
|
||||
special-cased to avoid recursion. Thus, the above regular expression
|
||||
can avoid recursion by being recast as \regexp{Begin [a-zA-Z0-9_ ]*?end}.
|
||||
As a further benefit, such regular expressions will run faster than
|
||||
their recursive equivalents.]{2.3}
|
||||
can avoid recursion by being recast as
|
||||
\regexp{Begin [a-zA-Z0-9_ ]*?end}. As a further benefit, such regular
|
||||
expressions will run faster than their recursive equivalents.
|
||||
|
|
Loading…
Reference in New Issue