Message330064
My first though went to giving something really simple like:
>>> print(range(10))
1, 2, ..., 8, 9
But for the empty range it would give an empty string. It may make sense, but may also be surprising.
The other way would be to print [1, 2, ..., 8. 9], so the empty range gets [] instead of nothing.
I think I prefer the first way. |
|
Date |
User |
Action |
Args |
2018-11-18 21:43:02 | mdk | set | recipients:
+ mdk, rhettinger, ncoghlan, steven.daprano, serhiy.storchaka, seluj78 |
2018-11-18 21:43:02 | mdk | set | messageid: <1542577382.84.0.788709270274.issue35200@psf.upfronthosting.co.za> |
2018-11-18 21:43:02 | mdk | link | issue35200 messages |
2018-11-18 21:43:02 | mdk | create | |
|