Searched refs:_get_protocol_attrs (Results 1 – 2 of 2) sorted by relevance
1041 def _get_protocol_attrs(cls): function1060 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):
1269 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)),