From 6be5623cd66672e100a6c49d3b8801fc15cf46bd Mon Sep 17 00:00:00 2001 From: Alex Waygood Date: Sat, 19 Feb 2022 21:01:21 +0000 Subject: [PATCH] Add `contextvars.__all__` (#7302) --- stdlib/contextvars.pyi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/stdlib/contextvars.pyi b/stdlib/contextvars.pyi index 38c5d5ed7..6b5661dd6 100644 --- a/stdlib/contextvars.pyi +++ b/stdlib/contextvars.pyi @@ -5,6 +5,8 @@ from typing_extensions import ParamSpec, final if sys.version_info >= (3, 9): from types import GenericAlias +__all__ = ("Context", "ContextVar", "Token", "copy_context") + _T = TypeVar("_T") _D = TypeVar("_D") _P = ParamSpec("_P")