Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Adjust formatting
  • Loading branch information
akx committed Jan 19, 2026
commit dc79004004fafc6269a8ad7355dd473e9dd901df
10 changes: 5 additions & 5 deletions Doc/library/asyncio-eventloop.rst
Original file line number Diff line number Diff line change
Expand Up @@ -297,8 +297,8 @@ clocks to track time.
are called is undefined.

The optional positional *args* will be passed to the callback when
it is called. You can use :func:`functools.partial`
:ref:`to pass *keyword* arguments <asyncio-pass-keywords>` to
it is called. Use :func:`functools.partial`
:ref:`to pass keyword arguments <asyncio-pass-keywords>` to
*callback*.

An optional keyword-only *context* argument allows specifying a
Expand Down Expand Up @@ -1041,7 +1041,7 @@ Watching file descriptors
Any preexisting callback registered for *fd* is cancelled and replaced by
*callback*.

You can use :func:`functools.partial` :ref:`to pass *keyword* arguments
Use :func:`functools.partial` :ref:`to pass keyword arguments
<asyncio-pass-keywords>` to *callback*.

.. method:: loop.remove_writer(fd)
Expand Down Expand Up @@ -1320,7 +1320,7 @@ Unix signals
Raise :exc:`ValueError` if the signal number is invalid or uncatchable.
Raise :exc:`RuntimeError` if there is a problem setting up the handler.

You can use :func:`functools.partial` :ref:`to pass *keyword* arguments
Use :func:`functools.partial` :ref:`to pass keyword arguments
<asyncio-pass-keywords>` to *callback*.

Like :func:`signal.signal`, this function must be invoked in the main
Expand Down Expand Up @@ -1409,7 +1409,7 @@ Executing code in thread or process pools

This method returns a :class:`asyncio.Future` object.

You can use :func:`functools.partial` :ref:`to pass *keyword* arguments
Use :func:`functools.partial` :ref:`to pass keyword arguments
<asyncio-pass-keywords>` to *func*.

.. versionchanged:: 3.5.3
Expand Down
Loading