From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Thu, 11 Apr 2019 06:18:07 +0000 (-0700) Subject: Doc: fix typo in IncrementalDecoder.setstate (GH-12724) X-Git-Tag: v3.7.4rc1~251 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a8c4fa531920f0025f570906b92372dd6ae5c43e;p=thirdparty%2FPython%2Fcpython.git Doc: fix typo in IncrementalDecoder.setstate (GH-12724) (cherry picked from commit b5e2959b27088d39f9954a207b91ab0ebbd149f4) Co-authored-by: Christopher Thorne --- diff --git a/Doc/library/codecs.rst b/Doc/library/codecs.rst index ef788bf241c8..ff4f4933b37d 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`.