Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Type hints cheat sheet (Python 3). Parent comment
Mapping is a type hint for any object that implements the __getitem__ magic method (i.e. you can do `foo[bar]`).
There are no comments on this comment yet.
Mapping is a type hint for any object that implements the __getitem__ magic method (i.e. you can do `foo[bar]`).