From: Christopher Thorne Date: Thu, 11 Apr 2019 06:09:29 +0000 (+0100) Subject: Doc: fix typo in IncrementalDecoder.setstate (GH-12724) X-Git-Tag: v3.8.0a4~223 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b5e2959b27088d39f9954a207b91ab0ebbd149f4;p=thirdparty%2FPython%2Fcpython.git Doc: fix typo in IncrementalDecoder.setstate (GH-12724) --- diff --git a/Doc/library/codecs.rst b/Doc/library/codecs.rst index d2a0c8b33690..b3246376846d 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`.