In my mind, *anything* other than the straightforward and obvious signature
`__getitem__(self, index, **kws)` is a pointless distraction.

We don't need new custom objects to hold keywords. We don't need funny
conditional logic about one versus multiple index objects. We don't need
some other method that sometimes takes priority.

Yes, it's slightly funny that square brackets convert to `index` rather
than `*index`, but that ship sailed very long ago, and it's no big deal.
There's no problem that needs solving and no need for code churn.
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/IXGZNYZEKHBNE6E52WKTENNGOIKXOVV6/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to