diff --git a/CHANGES/5836.doc b/CHANGES/5836.doc new file mode 100644 index 00000000000..ef8909cefb8 --- /dev/null +++ b/CHANGES/5836.doc @@ -0,0 +1 @@ +Fix the `ClientResponse.release`'s type in the doc. Change from `comethod` to `method`. diff --git a/docs/client_reference.rst b/docs/client_reference.rst index ac4922a3523..10ab0233a43 100644 --- a/docs/client_reference.rst +++ b/docs/client_reference.rst @@ -1274,7 +1274,7 @@ Response object assert resp.status == 200 After exiting from ``async with`` block response object will be - *released* (see :meth:`release` coroutine). + *released* (see :meth:`release` method). .. attribute:: version @@ -1405,7 +1405,6 @@ Response object .. seealso:: :meth:`close`, :meth:`release`. .. method:: release() - :async: It is not required to call `release` on the response object. When the client fully receives the payload, the