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

Member predicate Expr::hasSideEffects

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

predicate hasSideEffects()