Python stdlib module — contextlib. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.
.wraps()Neutralwraps(wrapped, assigned, updated)
Decorator factory to apply update_wrapper() to a wrapper function
.AbstractAsyncContextManager()NeutralAbstractAsyncContextManager(...)
An abstract base class for asynchronous context managers.
.AbstractContextManager()NeutralAbstractContextManager(...)
An abstract base class for context managers.
.AsyncContextDecorator()NeutralAsyncContextDecorator(...)
A base class or mixin that enables async context managers to work as decorators.
.AsyncExitStack()NeutralAsyncExitStack(...)
Async context manager for dynamic management of a stack of exit
.ContextDecorator()NeutralContextDecorator(...)
A base class or mixin that enables context managers to work as decorators.
.ExitStack()NeutralExitStack(...)
Context manager for dynamic management of a stack of exit callbacks.
| FQN | Field | |
|---|---|---|
| contextlib | fqns[0] |
Wrong FQN → 0 findings. Verify with: change fqns to garbage → must produce 0 results.
import contextlib