| 845 | |
| 846 | |
| 847 | class KeysView(MappingView, Set): |
| 848 | |
| 849 | __slots__ = () |
| 850 | |
| 851 | @classmethod |
| 852 | def _from_iterable(cls, it): |
| 853 | return set(it) |
| 854 | |
| 855 | def __contains__(self, key): |
| 856 | return key in self._mapping |
| 857 | |
| 858 | def __iter__(self): |
| 859 | yield from self._mapping |
| 860 | |
| 861 | |
| 862 | KeysView.register(dict_keys) |
no outgoing calls
searching dependent graphs…