summaryrefslogtreecommitdiffstats
path: root/Doc/library/codecs.rst
diff options
context:
space:
mode:
authorChristopher Thorne <libcthorne@users.noreply.github.com>2019-04-11 06:09:29 (GMT)
committerInada Naoki <songofacandy@gmail.com>2019-04-11 06:09:29 (GMT)
commitb5e2959b27088d39f9954a207b91ab0ebbd149f4 (patch)
tree8f94d5e1e8f530e53ca97f10240ee5288c62195d /Doc/library/codecs.rst
parenta9bd8925c7fa50dd3cfab125b824ec192133ef49 (diff)
downloadcpython-b5e2959b27088d39f9954a207b91ab0ebbd149f4.zip
cpython-b5e2959b27088d39f9954a207b91ab0ebbd149f4.tar.gz
cpython-b5e2959b27088d39f9954a207b91ab0ebbd149f4.tar.bz2
Doc: fix typo in IncrementalDecoder.setstate (GH-12724)
Diffstat (limited to 'Doc/library/codecs.rst')
-rw-r--r--Doc/library/codecs.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/codecs.rst b/Doc/library/codecs.rst
index d2a0c8b..b324637 100644
--- a/Doc/library/codecs.rst
+++ b/Doc/library/codecs.rst
@@ -638,7 +638,7 @@ define in order to be compatible with the Python codec registry.
.. method:: setstate(state)
- Set the state of the encoder to *state*. *state* must be a decoder state
+ Set the state of the decoder to *state*. *state* must be a decoder state
returned by :meth:`getstate`.