Commit 9b5a0efc authored by Xtreak's avatar Xtreak Committed by Terry Jan Reedy

Fix typos in documentation (#13344)

parent 4f820723
...@@ -792,7 +792,7 @@ Its documentation looks like this:: ...@@ -792,7 +792,7 @@ Its documentation looks like this::
invoked using the three argument form. invoked using the three argument form.
The slash at the end of the parameter list means that all three parameters are The slash at the end of the parameter list means that all three parameters are
positional-only. Thus, calling :func:`pow` with keyword aguments would lead to positional-only. Thus, calling :func:`pow` with keyword arguments would lead to
an error:: an error::
>>> pow(x=3, y=4) >>> pow(x=3, y=4)
......
...@@ -642,7 +642,7 @@ or both. ...@@ -642,7 +642,7 @@ or both.
by other classes as long as they implement :meth:`__setitem__`. by other classes as long as they implement :meth:`__setitem__`.
* Optionally, a callable with a ``(obj, state)`` signature. This * Optionally, a callable with a ``(obj, state)`` signature. This
callable allows the user to programatically control the state-updating callable allows the user to programmatically control the state-updating
behavior of a specific object, instead of using ``obj``'s static behavior of a specific object, instead of using ``obj``'s static
:meth:`__setstate__` method. If not ``None``, this callable will have :meth:`__setstate__` method. If not ``None``, this callable will have
priority over ``obj``'s :meth:`__setstate__`. priority over ``obj``'s :meth:`__setstate__`.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment