Message329531
This morning I was teaching Python (again and again), and again I was thinking we could do better about the representation of ranges.
Typically in the current repr of ranges we do not see that the end is excluded:
>>> range(10)
range(0, 10)
However it has the (little?) benefit of respecting the "repr gives valid Python".
I propose to change it to:
>>> range(10)
<range object [0, 1, ..., 8, 9]> |
|
Date |
User |
Action |
Args |
2018-11-09 16:25:51 | mdk | set | recipients:
+ mdk |
2018-11-09 16:25:51 | mdk | set | messageid: <1541780751.51.0.788709270274.issue35200@psf.upfronthosting.co.za> |
2018-11-09 16:25:51 | mdk | link | issue35200 messages |
2018-11-09 16:25:51 | mdk | create | |
|