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

Member predicate Name::deletes

Whether this expression deletes variable v. If doing dataflow, then consider using SsaVariable.getDefinition() for more precision.

predicate deletes(Variable v)