Searched refs:KeyTuple (Results 1 – 1 of 1) sorted by relevance
/zcbor-latest/zcbor/ |
D | zcbor.py | 1365 class KeyTuple(tuple): class 1370 return super(KeyTuple, cls).__new__(cls, *in_tuple) 1496 not isinstance(obj, KeyTuple), "Unexpected key found: (key,value)=" + str(obj)) 1525 assert (not any((isinstance(elem, KeyTuple) for elem in values))), \ 1541 if isinstance(obj[i], KeyTuple): 1549 if isinstance(obj, KeyTuple): 1609 child_val = iter(KeyTuple(item) for item in obj.items()) 1631 isinstance(next_obj, KeyTuple), f"Expected key: {self.key} value=" + pformat(next_obj)) 1635 res = KeyTuple((key_res if not self.key.is_unambiguous() else None, obj_res))
|