]> granicus.if.org Git - python/commitdiff
Issue #27075: Link to StreamReader and StreamWriter docs
authorBerker Peksag <berker.peksag@gmail.com>
Sat, 21 May 2016 11:56:35 +0000 (14:56 +0300)
committerBerker Peksag <berker.peksag@gmail.com>
Sat, 21 May 2016 11:56:35 +0000 (14:56 +0300)
Patch by Ville Skyttä.

Doc/library/codecs.rst

index 577a800fdf3fbfef80480fa8131edc19b38fdafb..a2530deff2c608fa389b7f0a0146d8b8115f1e20 100644 (file)
@@ -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.