diff options
author | Christopher Thorne <libcthorne@users.noreply.github.com> | 2019-04-11 07:09:29 +0100 |
---|---|---|
committer | Inada Naoki <songofacandy@gmail.com> | 2019-04-11 15:09:29 +0900 |
commit | b5e2959b27088d39f9954a207b91ab0ebbd149f4 (patch) | |
tree | 8f94d5e1e8f530e53ca97f10240ee5288c62195d | |
parent | a9bd8925c7fa50dd3cfab125b824ec192133ef49 (diff) | |
download | cpython-git-b5e2959b27088d39f9954a207b91ab0ebbd149f4.tar.gz |
Doc: fix typo in IncrementalDecoder.setstate (GH-12724)
-rw-r--r-- | Doc/library/codecs.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/codecs.rst b/Doc/library/codecs.rst index d2a0c8b336..b324637684 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`. |