Skip to content

Commit 293bdcd

Browse files
committed
remove unused things
1 parent 488fd6b commit 293bdcd

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

stdlib/contextlib.pyi

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ from _typeshed import FileDescriptorOrPath, Unused
44
from abc import ABC, abstractmethod
55
from collections.abc import AsyncGenerator, AsyncIterator, Awaitable, Callable, Generator, Iterator
66
from types import TracebackType
7-
from typing import IO, Any, Generic, Protocol, TypeVar, overload, runtime_checkable, type_check_only
7+
from typing import Any, Generic, Protocol, TypeVar, overload, runtime_checkable, type_check_only
88
from typing_extensions import ParamSpec, Self, TypeAlias
99

1010
__all__ = [
@@ -30,7 +30,6 @@ if sys.version_info >= (3, 11):
3030

3131
_T = TypeVar("_T")
3232
_T_co = TypeVar("_T_co", covariant=True)
33-
_T_io = TypeVar("_T_io", bound=IO[str] | None)
3433
_ExitT_co = TypeVar("_ExitT_co", covariant=True, bound=bool | None, default=bool | None)
3534
_F = TypeVar("_F", bound=Callable[..., Any])
3635
_G_co = TypeVar("_G_co", bound=Generator[Any, Any, Any] | AsyncGenerator[Any, Any], covariant=True)

0 commit comments

Comments
 (0)