CodeQL library for Python
codeql/python-all 2.2.0 (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)