summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBerker Peksag <berker.peksag@gmail.com>2016-05-21 14:56:35 +0300
committerBerker Peksag <berker.peksag@gmail.com>2016-05-21 14:56:35 +0300
commitec6bdf4dfe29ff3eea974ab7292ae3debeca3f2e (patch)
treec22afb5ee4051db1a8e69cf95a448aa3e2b44a4d
parent1f70c8d9d9af8f4eca46b11703cb98658b42ce80 (diff)
downloadcpython-ec6bdf4dfe29ff3eea974ab7292ae3debeca3f2e.tar.gz
Issue #27075: Link to StreamReader and StreamWriter docs
Patch by Ville Skytt?.
-rw-r--r--Doc/library/codecs.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/Doc/library/codecs.rst b/Doc/library/codecs.rst
index 577a800fdf..a2530deff2 100644
--- a/Doc/library/codecs.rst
+++ b/Doc/library/codecs.rst
@@ -137,16 +137,16 @@ these additional functions which use :func:`lookup` for the codec lookup:
.. function:: getreader(encoding)
- Look up the codec for the given encoding and return its StreamReader class or
- factory function.
+ Look up the codec for the given encoding and return its :class:`StreamReader`
+ class or factory function.
Raises a :exc:`LookupError` in case the encoding cannot be found.
.. function:: getwriter(encoding)
- Look up the codec for the given encoding and return its StreamWriter class or
- factory function.
+ Look up the codec for the given encoding and return its :class:`StreamWriter`
+ class or factory function.
Raises a :exc:`LookupError` in case the encoding cannot be found.