]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
* Modules/stropmodule.c: implement find/rfind instead of
authorGuido van Rossum <guido@python.org>
Wed, 17 Aug 1994 13:15:46 +0000 (13:15 +0000)
committerGuido van Rossum <guido@python.org>
Wed, 17 Aug 1994 13:15:46 +0000 (13:15 +0000)
commit5806a4f5c3d0921d66e68dbf97083c1f0f80f1b9
tree6de9b08b4d6b63dd586b432a4855776e219792c3
parent3d67feed24d53d793f8367164b65f93d8407905b
* Modules/stropmodule.c: implement find/rfind instead of
index/rindex (raising and catching an exception is much more
expensive than returning and testing -1)
Modules/stropmodule.c