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 4edbe0c commit 7acbe00Copy full SHA for 7acbe00
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, Never, overload, runtime_checkable
+from typing import IO, Any, Generic, Never, Protocol, TypeVar, overload, runtime_checkable
8
from typing_extensions import ParamSpec, Self, TypeAlias
9
10
__all__ = [
@@ -101,7 +101,7 @@ if sys.version_info >= (3, 10):
101
class AsyncContextDecorator(Generic[_SuppressedExcReturnT]):
102
def _recreate_cm(self) -> Self: ...
103
def __call__(self, func: Callable[_P, _R]) -> Callable[_P, _R | _SuppressedExcReturnT]: ...
104
-
+
105
class _AsyncGeneratorContextManager(
106
_GeneratorContextManagerBase[AsyncGenerator[_T_co, _SendT_contra]],
107
AbstractAsyncContextManager[_T_co, bool | None],
0 commit comments