Searched refs:child_cls (Results 1 – 1 of 1) sorted by relevance
7 def IsMethodOverridden(parent_cls, child_cls, method_name): argument9 assert inspect.isclass(child_cls), '%s should be a class' % child_cls13 if child_cls.__dict__.get(method_name):17 if parent_cls in child_cls.__bases__:24 base_cls = [cls for cls in child_cls.__bases__ if cls and cls != object]