summaryrefslogtreecommitdiffstats
path: root/Doc/library/codecs.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/library/codecs.rst')
-rw-r--r--Doc/library/codecs.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/codecs.rst b/Doc/library/codecs.rst
index d2a0c8b..b324637 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`.