CodeQL library for Python
codeql/python-all 0.11.13 (changelog, source)
Search

Predicate compact_location

Returns the location of an AST node in compact form: basename:line:column

Import path

import semmle.python.TestUtils
string compact_location(AstNode a)