qtil
advanced-security/qtil-python 0.0.3
Search

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
Class getADirectSuperclass(Class cls)