diff --git a/Doc/library/codecs.rst b/Doc/library/codecs.rst index 577a800fdf3..a2530deff2c 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.