We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 84b986b commit 958f21cCopy full SHA for 958f21c
Doc/library/contextlib.rst
@@ -181,7 +181,7 @@ Functions and classes provided:
181
``page.close()`` will be called when the :keyword:`with` block is exited.
182
183
184
-.. class:: aclosing(thing)
+.. function:: aclosing(thing)
185
186
Return an async context manager that calls the ``aclose()`` method of *thing*
187
upon completion of the block. This is basically equivalent to::
0 commit comments