From: Berker Peksag Date: Sat, 21 May 2016 11:56:35 +0000 (+0300) Subject: Issue #27075: Link to StreamReader and StreamWriter docs X-Git-Tag: v3.5.2rc1~129 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=732ba821ca23577c643d56de7226e6d9062b2a31;p=thirdparty%2FPython%2Fcpython.git Issue #27075: Link to StreamReader and StreamWriter docs Patch by Ville Skyttä. --- diff --git a/Doc/library/codecs.rst b/Doc/library/codecs.rst index 577a800fdf3f..a2530deff2c6 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.