Skip to content

Commit 97c5fcc

Browse files
committed
Remove mention of deprecated xreadlines method.
1 parent d79f683 commit 97c5fcc

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

‎Doc/lib/libgzip.tex‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ \section{\module{gzip} ---
2121
\begin{classdesc}{GzipFile}{\optional{filename\optional{, mode\optional{,
2222
compresslevel\optional{, fileobj}}}}}
2323
Constructor for the \class{GzipFile} class, which simulates most of
24-
the methods of a file object, with the exception of the \method{readinto()},
25-
\method{truncate()}, and \method{xreadlines()} methods. At least one of
24+
the methods of a file object, with the exception of the \method{readinto()}
25+
and \method{truncate()} methods. At least one of
2626
\var{fileobj} and \var{filename} must be given a non-trivial value.
2727

2828
The new class instance is based on \var{fileobj}, which can be a

‎Lib/gzip.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def open(filename, mode="rb", compresslevel=9):
3737

3838
class GzipFile:
3939
"""The GzipFile class simulates most of the methods of a file object with
40-
the exception of the readinto(), truncate(), and xreadlines() methods.
40+
the exception of the readinto() and truncate() methods.
4141
4242
"""
4343

0 commit comments

Comments
 (0)