> Which brings to mind a possible alternate syntax: s[x::n] This would AFAIK collide with the the x[a:b:c] syntax, which already means something, the c is the size of a step
<https://docs.python.org/3/library/functions.html#slice> M On 8 October 2025 16:22:46 CEST, [email protected] wrote: >Send Python-list mailing list submissions to > [email protected] > >To subscribe or unsubscribe via the World Wide Web, visit > https://mail.python.org/mailman3/lists/python-list.python.org/ >or, via email, send a message with subject or body 'help' to > [email protected] > >You can reach the person managing the list at > [email protected] > >When replying, please edit your Subject line so it is more specific >than "Re: Contents of Python-list digest..." -- https://mail.python.org/mailman3//lists/python-list.python.org
