Skip to content

Commit ca6357e

Browse files
authored
protocols.rst: fix documentation (#13137)
It is not referring to keyword arguments, but to arguments in general. Fixes #8805.
1 parent 227e50d commit ca6357e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/source/protocols.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -475,7 +475,7 @@ member:
475475
# different name and kind in the callback
476476
477477
Callback protocols and :py:data:`~typing.Callable` types can be used interchangeably.
478-
Keyword argument names in :py:meth:`__call__ <object.__call__>` methods must be identical, unless
478+
Argument names in :py:meth:`__call__ <object.__call__>` methods must be identical, unless
479479
a double underscore prefix is used. For example:
480480

481481
.. code-block:: python

0 commit comments

Comments
 (0)