summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2013-10-06 11:17:04 (GMT)
committerGeorg Brandl <georg@python.org>2013-10-06 11:17:04 (GMT)
commit9c2505b8fcb870824fac3478ca7091b770a228dc (patch)
tree66e9abb9785ff7e3964e2dedbba4c977156c1068
parent49c6fc96797a2217a7a0b03740c7a9bd1eb6efd8 (diff)
downloadcpython-9c2505b8fcb870824fac3478ca7091b770a228dc.zip
cpython-9c2505b8fcb870824fac3478ca7091b770a228dc.tar.gz
cpython-9c2505b8fcb870824fac3478ca7091b770a228dc.tar.bz2
Fix order of required StreamReader/StreamWriter base classes. Spotted by Edward Welbourne on docs@.
-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 fcef948..a5a27a2 100644
--- a/Doc/library/codecs.rst
+++ b/Doc/library/codecs.rst
@@ -65,7 +65,7 @@ It defines the following functions:
``factory(stream, errors='strict')``
The factory functions must return objects providing the interfaces defined by
- the base classes :class:`StreamWriter` and :class:`StreamReader`, respectively.
+ the base classes :class:`StreamReader` and :class:`StreamWriter`, respectively.
Stream codecs can maintain state.
Possible values for errors are