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

Predicate is_context_manager

Retained for backwards compatibility use ClassObject.isContextManager() instead.

Import path

import python
predicate is_context_manager(ClassObject c)