Fixes `loop.add_writer` and `loop.add_signal_handler` method documentation to correctly reference the callback parameter from method signature.
https://bugs.python.org/issue35395
(cherry picked from commit
17473347942353946fe455f797a2197cb89c1090)
Co-authored-by: Naglis <naglis@users.noreply.github.com>
writing.
Use :func:`functools.partial` :ref:`to pass keyword arguments
- <asyncio-pass-keywords>` to *func*.
+ <asyncio-pass-keywords>` to *callback*.
.. method:: loop.remove_writer(fd)
Raise :exc:`RuntimeError` if there is a problem setting up the handler.
Use :func:`functools.partial` :ref:`to pass keyword arguments
- <asyncio-pass-keywords>` to *func*.
+ <asyncio-pass-keywords>` to *callback*.
.. method:: loop.remove_signal_handler(sig)