Message285333
Given `slice[start:end]`:
What this line is trying to say is that the slice index is inclusive for the start parameter and exclusive for the end parameter.
In mathematical/interval notation this would look like [start, end)
As a quick example look at the word "Python"
Index 012345
Letter Python
If you do word[:2], the result is 'Py', notice how the t is excluded. |
|
Date |
User |
Action |
Args |
2017-01-12 17:04:49 | ammar2 | set | recipients:
+ ammar2, docs@python, Suraj Kumar |
2017-01-12 17:04:49 | ammar2 | set | messageid: <1484240689.25.0.8791147234.issue29254@psf.upfronthosting.co.za> |
2017-01-12 17:04:49 | ammar2 | link | issue29254 messages |
2017-01-12 17:04:48 | ammar2 | create | |
|