From f77f21ef2ed0933135b021b38cd6e380c864221b Mon Sep 17 00:00:00 2001 From: Christopher Thorne Date: Mon, 8 Apr 2019 12:37:17 +0100 Subject: [PATCH] Fix typo in IncrementalDecoder documentation --- Doc/library/codecs.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/codecs.rst b/Doc/library/codecs.rst index d2a0c8b3369023..b3246376846dd0 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`.