Predicate getADirectSuperclass
Gets a direct superclass of the argument cls
, if any.
For A
with the class definition class A(B, C)
it will have results B
and C
.
Import path
import semmle.python.dataflow.new.internal.DataFlowDispatch
Gets a direct superclass of the argument cls
, if any.
For A
with the class definition class A(B, C)
it will have results B
and C
.
import semmle.python.dataflow.new.internal.DataFlowDispatch