]> granicus.if.org Git - python/commit
Added limits to the replace code so it does not count all of the matching
authorAndrew Dalke <dalke@dalkescientific.com>
Fri, 26 May 2006 20:25:22 +0000 (20:25 +0000)
committerAndrew Dalke <dalke@dalkescientific.com>
Fri, 26 May 2006 20:25:22 +0000 (20:25 +0000)
commit51324078680cf636218866ba822b89c149ce5e15
tree7e5b925d900fbdf061c97d0a2f80bc92b021f43c
parente4e023c4d3104cbf144437d25e6906e828a28993
Added limits to the replace code so it does not count all of the matching
patterns in a string, only the number needed by the max limit.
Objects/stringobject.c