Skip to content

Commit cc598ae

Browse files
Add AsyncContextManager to typing module documentation. (GH-6822)
(cherry picked from commit b7b493e) Co-authored-by: Travis DePrato <[email protected]>
1 parent b57aeac commit cc598ae

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

Doc/library/typing.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -666,6 +666,12 @@ The module defines the following classes, functions and decorators:
666666

667667
.. versionadded:: 3.6
668668

669+
.. class:: AsyncContextManager(Generic[T_co])
670+
671+
A generic version of :class:`contextlib.AbstractAsyncContextManager`.
672+
673+
.. versionadded:: 3.6
674+
669675
.. class:: Dict(dict, MutableMapping[KT, VT])
670676

671677
A generic version of :class:`dict`.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Add missing documentation for ``typing.AsyncContextManager``.

0 commit comments

Comments
 (0)