On 4/08/20 9:12 am, Guido van Rossum wrote:
then presumably calling `c[1, index=2]` would just be an error (since it would be like attempting to call the method with two values for the `index` argument),

Hmmm, does this mean that classes providing index notation would
now need to document the name of the parameter they use for the
index?

--
Greg
_______________________________________________
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/VMNARXHO62PYWGUPF7AMZHMHMQZ4O2HF/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to