Skip to content

Commit e7d99bd

Browse files
committed
More doc fixes
1 parent 57d916c commit e7d99bd

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

docs/library/zlib.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55

66
.. module:: zlib
77
:synopsis: zlib decompression
8+
:noindex:
89

910
|see_cpython_module| :mod:`cpython:zlib`.
1011

@@ -26,6 +27,7 @@ Functions
2627
CPython and is ignored.
2728

2829
.. class:: DecompIO(stream, wbits=0, /)
30+
:noindex:
2931

3032
Create a ``stream`` wrapper which allows transparent decompression of
3133
compressed data in another *stream*. This allows to process compressed

shared-bindings/zlib/DecompIO.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
//| ...
7070
//|
7171
//| def readline(self, nbytes: Optional[int] = None) -> Optional[bytes]:
72-
//| """Read and return one line from the stream. The line terminator is always b'\n'.
72+
//| """Read and return one line from the stream. The line terminator is always b'\\n'.
7373
//| If ``nbytes`` is specified then read at most that many bytes.
7474
//|
7575
//| :return: Data read

0 commit comments

Comments
 (0)