Message244811
I'm with Serhiy, I don't think we need a "literal", just make slice itself indexable:
reverse = slice(None, None, -1)
reverse = slice[::-1]
The only question in my mind is what slice should do when given just a single index:
slice[0]
I suppose that should be a ValueError? |
|
Date |
User |
Action |
Args |
2015-06-04 11:14:19 | steven.daprano | set | recipients:
+ steven.daprano, rhettinger, Arfrever, serhiy.storchaka, llllllllll |
2015-06-04 11:14:19 | steven.daprano | set | messageid: <1433416459.36.0.0896500063192.issue24379@psf.upfronthosting.co.za> |
2015-06-04 11:14:19 | steven.daprano | link | issue24379 messages |
2015-06-04 11:14:19 | steven.daprano | create | |
|