This commit is contained in:
Charles Blake 2019-06-12 07:44:56 -04:00
commit bde899d4f8
3 changed files with 57 additions and 23 deletions

View file

@ -3,6 +3,13 @@
### Changes affecting backwards compatibility
- All `strutils.rfind` procs now take `start` and `last` like `strutils.find`
with the same data slice/index meaning. This is backwards compatible for
calls *not* changing the `rfind` `start` parameter from its default.
In the unlikely case that you were using `rfind X, start=N`, or `rfind X, N`,
then you need to change that to `rfind X, last=N` or `rfind X, 0, N`. (This
should minimize gotchas porting code from other languages like Python or C++.)
#### Breaking changes in the standard library