summaryrefslogtreecommitdiffstats
path: root/Doc/library/pickle.rst
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2009-03-13 19:04:40 (GMT)
committerGeorg Brandl <georg@python.org>2009-03-13 19:04:40 (GMT)
commitae2dbe2543859f9ad0ff0a2e84b33421c8fd5406 (patch)
treec903b7d3d7b48ad04fc1107aa3225fdd212cb5df /Doc/library/pickle.rst
parentf87e04d3398091662c399ee5ba0a3e71dbae9a24 (diff)
downloadcpython-ae2dbe2543859f9ad0ff0a2e84b33421c8fd5406.zip
cpython-ae2dbe2543859f9ad0ff0a2e84b33421c8fd5406.tar.gz
cpython-ae2dbe2543859f9ad0ff0a2e84b33421c8fd5406.tar.bz2
#5486: typos.
Diffstat (limited to 'Doc/library/pickle.rst')
-rw-r--r--Doc/library/pickle.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/library/pickle.rst b/Doc/library/pickle.rst
index 4b329ae..9a31520 100644
--- a/Doc/library/pickle.rst
+++ b/Doc/library/pickle.rst
@@ -473,13 +473,13 @@ objects. [#]_
Although powerful, implementing :meth:`__reduce__` directly in your classes is
error prone. For this reason, class designers should use the high-level
interface (i.e., :meth:`__getnewargs__`, :meth:`__getstate__` and
-:meth:`__setstate__`) whenever possible. We will show however cases where using
+:meth:`__setstate__`) whenever possible. We will show, however, cases where using
:meth:`__reduce__` is the only option or leads to more efficient pickling or
both.
-The interface is currently defined as follow. The :meth:`__reduce__` method
+The interface is currently defined as follows. The :meth:`__reduce__` method
takes no argument and shall return either a string or preferably a tuple (the
-returned object is often refered as the "reduce value").
+returned object is often referred to as the "reduce value").
If a string is returned, the string should be interpreted as the name of a
global variable. It should be the object's local name relative to its module;