Fix order of required StreamReader/StreamWriter base classes. Spotted by Edward Welbourne on docs@.
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 @@
``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