summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXtreak <tir.karthi@gmail.com>2019-05-16 04:34:24 (GMT)
committerTerry Jan Reedy <tjreedy@udel.edu>2019-05-16 04:34:24 (GMT)
commit9b5a0efcdc5b6d23b6e05bb3d30263983b7da308 (patch)
treecbdccc908bac4d13dab22280e12bb0a81730e048
parent4f820723c86c94f857d8d8de47a3c28f985946bd (diff)
downloadcpython-9b5a0efcdc5b6d23b6e05bb3d30263983b7da308.zip
cpython-9b5a0efcdc5b6d23b6e05bb3d30263983b7da308.tar.gz
cpython-9b5a0efcdc5b6d23b6e05bb3d30263983b7da308.tar.bz2
Fix typos in documentation (#13344)
-rw-r--r--Doc/faq/programming.rst2
-rw-r--r--Doc/library/pickle.rst2
2 files changed, 2 insertions, 2 deletions
diff --git a/Doc/faq/programming.rst b/Doc/faq/programming.rst
index f14e8cc..9660a70 100644
--- a/Doc/faq/programming.rst
+++ b/Doc/faq/programming.rst
@@ -792,7 +792,7 @@ Its documentation looks like this::
invoked using the three argument form.
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::
>>> pow(x=3, y=4)
diff --git a/Doc/library/pickle.rst b/Doc/library/pickle.rst
index 55005f0..27721e6 100644
--- a/Doc/library/pickle.rst
+++ b/Doc/library/pickle.rst
@@ -642,7 +642,7 @@ or both.
by other classes as long as they implement :meth:`__setitem__`.
* 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
:meth:`__setstate__` method. If not ``None``, this callable will have
priority over ``obj``'s :meth:`__setstate__`.