mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-08-01 21:50:21 +08:00
Add __slots__ to third-party packages using stubdefaulter (#14619)
This commit is contained in:
@@ -20,6 +20,7 @@ class AsyncIndirectBase(AsyncBase[_T]):
|
||||
) -> None: ...
|
||||
|
||||
class AiofilesContextManager(Awaitable[_V_co], AbstractAsyncContextManager[_V_co]):
|
||||
__slots__ = ("_coro", "_obj")
|
||||
def __init__(self, coro: Awaitable[_V_co]) -> None: ...
|
||||
def __await__(self) -> Generator[Any, Any, _V_co]: ...
|
||||
async def __aenter__(self) -> _V_co: ...
|
||||
|
||||
Reference in New Issue
Block a user