(self: anon_map, key: _AM_KEY, /)
| 116 | if cython.compiled: |
| 117 | |
| 118 | def __getitem__(self: anon_map, key: _AM_KEY, /) -> _AM_VALUE: |
| 119 | self_dict: dict = self # type: ignore[type-arg] |
| 120 | |
| 121 | if key in self_dict: |
| 122 | return self_dict[key] # type: ignore[no-any-return] |
| 123 | else: |
| 124 | return self._add_missing(key) # type: ignore[no-any-return] |
| 125 | |
| 126 | def __missing__(self: anon_map, key: _AM_KEY, /) -> int: |
| 127 | return self._add_missing(key) # type: ignore[no-any-return] |
nothing calls this directly
no test coverage detected