mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 13:34:58 +08:00
Add missing __class_getitem__ method to types.AsyncGeneratorType (#6390)
This commit is contained in:
@@ -218,6 +218,8 @@ class AsyncGeneratorType(AsyncGenerator[_T_co, _T_contra]):
|
||||
@overload
|
||||
def athrow(self, __typ: BaseException, __val: None = ..., __tb: TracebackType | None = ...) -> Awaitable[_T_co]: ...
|
||||
def aclose(self) -> Awaitable[None]: ...
|
||||
if sys.version_info >= (3, 9):
|
||||
def __class_getitem__(cls, __item: Any) -> GenericAlias: ...
|
||||
|
||||
@final
|
||||
class CoroutineType(Coroutine[_T_co, _T_contra, _V_co]):
|
||||
|
||||
Reference in New Issue
Block a user