Message280621
n < (j-i)/k is a straightforward translation of i + n*k < j, and vice verse, where / is rational division. It is incorrect to integerize the result and the doc does not say to do so. In Python 3, there is no ambiguity, and the doc is *not* incorrect, and does not need to be changed. In Python 2, I think it still clear enough, but we could add "(where / indicates rational division)'. However, I also think this might be too nitpicky. I am inclined to think that this should be closed. |
|
Date |
User |
Action |
Args |
2016-11-11 23:45:53 | terry.reedy | set | recipients:
+ terry.reedy, r.david.murray, docs@python, airwin |
2016-11-11 23:45:53 | terry.reedy | set | messageid: <1478907953.94.0.157081699576.issue28614@psf.upfronthosting.co.za> |
2016-11-11 23:45:53 | terry.reedy | link | issue28614 messages |
2016-11-11 23:45:53 | terry.reedy | create | |
|