commit | 5806a4f5c3d0921d66e68dbf97083c1f0f80f1b9 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Wed Aug 17 13:15:46 1994 +0000 |
committer | Guido van Rossum <guido@python.org> | Wed Aug 17 13:15:46 1994 +0000 |
tree | 6de9b08b4d6b63dd586b432a4855776e219792c3 | |
parent | 3d67feed24d53d793f8367164b65f93d8407905b [diff] |
* Modules/stropmodule.c: implement find/rfind instead of index/rindex (raising and catching an exception is much more expensive than returning and testing -1)