Steven D'Aprano writes: > On Sun, Sep 29, 2019 at 11:27:32AM +0100, Oscar Benjamin wrote: > > > That's the point that I would make as well. What can you do with an > > object that is only known to be Subscriptable? > > I can subscript it. What did you expect the answer to be?
Technical questions: does "Subscriptable" mean non-negative ints only, or does it include the negative "count from the end" protocol? How about slices? Steve _______________________________________________ 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/KO3EIPGIHVNVYGXHRL3Z6AX5JLO2S373/ Code of Conduct: http://python.org/psf/codeofconduct/