[Python-checkins] Fix typos in documentation (#13344)

Terry Jan Reedy webhook-mailer at python.org
Thu May 16 00:34:28 EDT 2019


https://github.com/python/cpython/commit/9b5a0efcdc5b6d23b6e05bb3d30263983b7da308
commit: 9b5a0efcdc5b6d23b6e05bb3d30263983b7da308
branch: master
author: Xtreak <tir.karthi at gmail.com>
committer: Terry Jan Reedy <tjreedy at udel.edu>
date: 2019年05月16日T00:34:24-04:00
summary:
Fix typos in documentation (#13344)
files:
M Doc/faq/programming.rst
M Doc/library/pickle.rst
diff --git a/Doc/faq/programming.rst b/Doc/faq/programming.rst
index f14e8cc824ef..9660a701427f 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 55005f009431..27721e698826 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__`.


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /