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

Member predicate Expr::hasSideEffects

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

predicate hasSideEffects()