qtil
advanced-security/qtil-python 0.0.3
Search

Predicate getADirectSubclass

Gets a direct subclass of the argument cls, if any.

For B with the class definition class A(B) it will have result A.

Import path

import semmle.python.dataflow.new.internal.DataFlowDispatch
Class getADirectSubclass(Class cls)