From b5e2959b27088d39f9954a207b91ab0ebbd149f4 Mon Sep 17 00:00:00 2001 From: Christopher Thorne Date: Thu, 11 Apr 2019 07:09:29 +0100 Subject: [PATCH] Doc: fix typo in IncrementalDecoder.setstate (GH-12724) --- 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 d2a0c8b336..b324637684 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`. -- 2.40.0