Predicate findFunctionAccordingToMro
Gets a potential definition of the function name
according to our approximation of
MRO for the class cls
(see getNextClassInMro
for more information).
Import path
import semmle.python.dataflow.new.internal.DataFlowDispatch
Function findFunctionAccordingToMro(Class cls, string name)