Skip to content

Conversation

xbe
Copy link
Contributor

@xbe xbe commented Mar 24, 2014

Also got rid of "TODO use a non-exception-throwing mp_get_index" in str_count() and str_find() because they both now use mp_get_index()'s is_slice boolean, so they will no longer be throwing IndexErrors. They can still throw TypeErrors but that's intended.

dpgeorge added a commit that referenced this pull request Mar 25, 2014
py/objstr.c: Implement str.rfind() and add tests for it, refactor find_subbytes().
@dpgeorge dpgeorge merged commit 681d0a9 into micropython:master Mar 25, 2014
@xbe xbe deleted the str-rfind branch March 25, 2014 17:15
tannewt added a commit to tannewt/circuitpython that referenced this pull request Nov 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants