summaryrefslogtreecommitdiffstatshomepage
path: root/tests/basics/class-contains.py
diff options
context:
space:
mode:
authorChris Angelico <rosuav@gmail.com>2014-06-10 03:59:55 +1000
committerChris Angelico <rosuav@gmail.com>2014-06-10 03:59:55 +1000
commit1f44e118f034a38fcb96624bb16ffa32d569c28c (patch)
tree2cb06a974d336d6b454abe34c2e7bb110e14e97b /tests/basics/class-contains.py
parent195de3247b0a02df9098b45551b0d5e8d9b06a33 (diff)
downloadmicropython-1f44e118f034a38fcb96624bb16ffa32d569c28c.tar.gz
micropython-1f44e118f034a38fcb96624bb16ffa32d569c28c.zip
Remove unnecessary bounds check from mp_seq_get_fast_slice_indexes.
At this point, start will be >= 0, so checking if stop < 0 is redundant with checking if start > stop a few lines later.
Diffstat (limited to 'tests/basics/class-contains.py')
0 files changed, 0 insertions, 0 deletions