More doc fixes

This commit is contained in:
gamblor21 2022-02-21 00:14:24 -06:00
parent 57d916c249
commit e7d99bda0c
2 changed files with 3 additions and 1 deletions

View File

@ -5,6 +5,7 @@
.. module:: zlib
:synopsis: zlib decompression
:noindex:
|see_cpython_module| :mod:`cpython:zlib`.
@ -26,6 +27,7 @@ Functions
CPython and is ignored.
.. class:: DecompIO(stream, wbits=0, /)
:noindex:
Create a ``stream`` wrapper which allows transparent decompression of
compressed data in another *stream*. This allows to process compressed

View File

@ -69,7 +69,7 @@
//| ...
//|
//| def readline(self, nbytes: Optional[int] = None) -> Optional[bytes]:
//| """Read and return one line from the stream. The line terminator is always b'\n'.
//| """Read and return one line from the stream. The line terminator is always b'\\n'.
//| If ``nbytes`` is specified then read at most that many bytes.
//|
//| :return: Data read