CodeQL library for Python
Search

Predicate is_context_manager

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

Import path

import python
predicate is_context_manager(ClassObject c)