We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 488fd6b commit 293bdcdCopy full SHA for 293bdcd
stdlib/contextlib.pyi
@@ -4,7 +4,7 @@ from _typeshed import FileDescriptorOrPath, Unused
4
from abc import ABC, abstractmethod
5
from collections.abc import AsyncGenerator, AsyncIterator, Awaitable, Callable, Generator, Iterator
6
from types import TracebackType
7
-from typing import IO, Any, Generic, Protocol, TypeVar, overload, runtime_checkable, type_check_only
+from typing import Any, Generic, Protocol, TypeVar, overload, runtime_checkable, type_check_only
8
from typing_extensions import ParamSpec, Self, TypeAlias
9
10
__all__ = [
@@ -30,7 +30,6 @@ if sys.version_info >= (3, 11):
30
31
_T = TypeVar("_T")
32
_T_co = TypeVar("_T_co", covariant=True)
33
-_T_io = TypeVar("_T_io", bound=IO[str] | None)
34
_ExitT_co = TypeVar("_ExitT_co", covariant=True, bound=bool | None, default=bool | None)
35
_F = TypeVar("_F", bound=Callable[..., Any])
36
_G_co = TypeVar("_G_co", bound=Generator[Any, Any, Any] | AsyncGenerator[Any, Any], covariant=True)
0 commit comments