mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-06 20:24:30 +08:00
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.
4 lines
178 B
Python
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")
|