Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use
bytes.find()
instead of bytes.index()
Use `bytes.find()` instead of `bytes.index()`, as the former doesn't raise an exception when the to-be-found byte doesn't exist.
- Loading branch information