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

Member predicate Expr::hasSideEffects

Whether this expression may have a side effect (as determined purely from its syntax)

predicate hasSideEffects()