Home
last modified time | relevance | path

Searched refs:_get_protocol_attrs (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython3/Lib/
Dtyping.py1041 def _get_protocol_attrs(cls): function
1060 return all(callable(getattr(cls, attr, None)) for attr in _get_protocol_attrs(cls))
1104 for attr in _get_protocol_attrs(cls)):
1171 for attr in _get_protocol_attrs(cls):
/external/python/cpython3/Lib/test/
Dtest_typing.py1269 self.assertEqual(typing._get_protocol_attrs(P), {'meth'})
1270 self.assertEqual(typing._get_protocol_attrs(PR), {'x'})
1271 self.assertEqual(frozenset(typing._get_protocol_attrs(PG)),