
4 Aug
2020
4 Aug
'20
2:35 a.m.
On 4/08/20 9:20 am, Todd wrote:
Another approach could be too simply pass the labelled indices in a dict as a third/fourth positional argument.
Has anyone suggested attaching the keyword args as attributes on the slice object?
This would avoid changing the signature of __getitem__, and existing __getitem__ methods would just ignore the keyword args.
--
Greg