mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-17 03:21:25 +08:00
A new shade of Black (#11362)
This commit is contained in:
1 parent
7a6a749449
commit
c49c84f319
76 files changed
+190
-106
No files matched your search
@@ -118,6 +118,7 @@ class closing(AbstractContextManager[_SupportsCloseT]):
|
||||
if sys.version_info >= (3, 10):
|
||||
class _SupportsAclose(Protocol):
|
||||
def aclose(self) -> Awaitable[object]: ...
|
||||
|
||||
_SupportsAcloseT = TypeVar("_SupportsAcloseT", bound=_SupportsAclose)
|
||||
|
||||
class aclosing(AbstractAsyncContextManager[_SupportsAcloseT]):
|
||||
|
||||
Reference in new issue
Block a user