]> granicus.if.org Git - python/commitdiff
Doc: fix typo in IncrementalDecoder.setstate (GH-12724)
authorChristopher Thorne <libcthorne@users.noreply.github.com>
Thu, 11 Apr 2019 06:09:29 +0000 (07:09 +0100)
committerInada Naoki <songofacandy@gmail.com>
Thu, 11 Apr 2019 06:09:29 +0000 (15:09 +0900)
Doc/library/codecs.rst

index d2a0c8b33690232917ffb75f562e1c7524e582fd..b3246376846dd08e404e020b9f65de8fc3ad6c86 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`.