codeql/python-all
0.11.3
For other CodeQL resources, including tutorials and examples, see the CodeQL documentation
.
Gets the shortest distance from the root to nd in the API graph.
nd
import semmle.python.ApiGraphs
int distanceFromRoot(TApiNode nd)