]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Doc: fix typo in IncrementalDecoder.setstate (GH-12724)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 11 Apr 2019 06:18:07 +0000 (23:18 -0700)
committerGitHub <noreply@github.com>
Thu, 11 Apr 2019 06:18:07 +0000 (23:18 -0700)
(cherry picked from commit b5e2959b27088d39f9954a207b91ab0ebbd149f4)

Co-authored-by: Christopher Thorne <libcthorne@users.noreply.github.com>
Doc/library/codecs.rst

index ef788bf241c820942c3e9ab81baef194b6823642..ff4f4933b37d618671fa9db3c5cbdfc39febba89 100644 (file)
@@ -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`.