A collection of my best findings when looking through rejected Python Enhancement Proposals (as of Jan 6, 2024).
PEP 204: Range Literals
(2000, Python 2.0)
>>> [1:10]
[1, 2, 3, 4, 5, 6, 7, 8, 9]
>>> [:5]
[0, 1, 2, 3, 4]
A collection of my best findings when looking through rejected Python Enhancement Proposals (as of Jan 6, 2024).
(2000, Python 2.0)
>>> [1:10]
[1, 2, 3, 4, 5, 6, 7, 8, 9]
>>> [:5]
[0, 1, 2, 3, 4]