on slices, negative indices, which are the equivalent procedures?
Dennis Lee Bieber
wlfraed at ix.netcom.com
Mon Aug 16 20:03:45 EDT 2021
On Sun, 15 Aug 2021 00:05:29 -0300, Jack Brandom <jbrandom at example.com>
declaimed the following:
>Dennis Lee Bieber <wlfraed at ix.netcom.com> writes:
>
>> subscript: '.' '.' '.' | test | [test] ':' [test] [sliceop]
>> sliceop: ':' [test]
>
>This is looking less readable, so, no, I prefer that previous, which was
>much clearer about slices. I can't even quite make the slices out in
>these rules. (But thanks for the opportunity to try.)
The last part of "subscript" has the main "slice" notation (stripping
the quotes)
[test] : [test]
and the "stride" component is [sliceop] being
: [test]
--
Wulfraed Dennis Lee Bieber AF6VN
wlfraed at ix.netcom.com http://wlfraed.microdiversity.freeddns.org/
More information about the Python-list
mailing list