Searched refs:v2_cls (Results 1 – 1 of 1) sorted by relevance
100 def swap_class(cls, v2_cls, v1_cls, use_v2): argument104 if cls in (v2_cls, v1_cls):105 return v2_cls if use_v2 else v1_cls116 or (not use_v2 and issubclass(base, v2_cls)))):117 new_base = swap_class(base, v2_cls, v1_cls, use_v2)