Message284471
start is bounded to 0 twice.
start = max(start, 0)
start = max(0, min(start, len(lines) - context))
The first line can be just removed. Or two above lines can be rewritten as:
start = min(start, len(lines) - context)
start = max(start, 0) |
|
Date |
User |
Action |
Args |
2017-01-02 06:36:36 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, Peter.Waller, python-dev, sbt, berker.peksag, Sam.Breese |
2017-01-02 06:36:36 | serhiy.storchaka | set | messageid: <1483338996.52.0.245975515271.issue15812@psf.upfronthosting.co.za> |
2017-01-02 06:36:36 | serhiy.storchaka | link | issue15812 messages |
2017-01-02 06:36:36 | serhiy.storchaka | create | |
|