3 ms·
Isn't this supported by typing.SupportsIndex? https://docs.python.org/3/library/typing.html#typing.SupportsIndex https://docs.python.org/3/library/typing.html#t
by bobbiechen 1y ago
Isn't this supported by typing.SupportsIndex? https://docs.python.org/3/library/typing.html#typing.SupportsIndex https://docs.python.org/3/library/typing.html#typing.Support...
Mind you, I haven't used it before, but it feels very similar to the abstract Mapping types.
- detaro 1y ago__index__ is not what you think it is
- bobbiechen 1y agoOops, thanks for the correction. That's on me for drive-by commenting.