Files
typeshed/stdlib/contextvars.pyi
Stephen Morton 460c09d122 add _contextvars for proper naming (#12981)
On 3.9 and lower, the contextvars types call themselves builtins.*
which we can't and won't match. This improves naming fidelity for
3.10 and newer.
2024-11-08 17:45:59 +01:00

4 lines
178 B
Python

from _contextvars import Context as Context, ContextVar as ContextVar, Token as Token, copy_context as copy_context
__all__ = ("Context", "ContextVar", "Token", "copy_context")