Re: Slices by length

meowxiik via Python-list <[email protected]>
Newsgroups gmane.comp.python.general
Message-ID <[email protected]>
> 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..."
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.