mirror of
https://github.com/python/cpython.git
synced 2025-10-02 13:22:19 +00:00
Add AsyncContextManager to typing module documentation. (GH-6822)
(cherry picked from commit b7b493e2fb
)
Co-authored-by: Travis DePrato <773453+travigd@users.noreply.github.com>
This commit is contained in:
parent
b57aeac82c
commit
cc598ae264
2 changed files with 7 additions and 0 deletions
|
@ -666,6 +666,12 @@ The module defines the following classes, functions and decorators:
|
|||
|
||||
.. versionadded:: 3.6
|
||||
|
||||
.. class:: AsyncContextManager(Generic[T_co])
|
||||
|
||||
A generic version of :class:`contextlib.AbstractAsyncContextManager`.
|
||||
|
||||
.. versionadded:: 3.6
|
||||
|
||||
.. class:: Dict(dict, MutableMapping[KT, VT])
|
||||
|
||||
A generic version of :class:`dict`.
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
Add missing documentation for ``typing.AsyncContextManager``.
|
Loading…
Add table
Add a link
Reference in a new issue