diff options
author | Guido van Rossum <guido@python.org> | 2002-08-06 17:03:25 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2002-08-06 17:03:25 (GMT) |
commit | 97c5fccd773ad509f8fcf6be3708d90c4402772b (patch) | |
tree | 53725bb2cd1869949edb2b6bcd231929e611851c | |
parent | d79f683772aa2222e4189f394fe7086d77b201c5 (diff) | |
download | cpython-97c5fccd773ad509f8fcf6be3708d90c4402772b.zip cpython-97c5fccd773ad509f8fcf6be3708d90c4402772b.tar.gz cpython-97c5fccd773ad509f8fcf6be3708d90c4402772b.tar.bz2 |
Remove mention of deprecated xreadlines method.
-rw-r--r-- | Doc/lib/libgzip.tex | 4 | ||||
-rw-r--r-- | Lib/gzip.py | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/Doc/lib/libgzip.tex b/Doc/lib/libgzip.tex index 7a526b6..b4cc659 100644 --- a/Doc/lib/libgzip.tex +++ b/Doc/lib/libgzip.tex @@ -21,8 +21,8 @@ The module defines the following items: \begin{classdesc}{GzipFile}{\optional{filename\optional{, mode\optional{, compresslevel\optional{, fileobj}}}}} Constructor for the \class{GzipFile} class, which simulates most of -the methods of a file object, with the exception of the \method{readinto()}, -\method{truncate()}, and \method{xreadlines()} methods. At least one of +the methods of a file object, with the exception of the \method{readinto()} +and \method{truncate()} methods. At least one of \var{fileobj} and \var{filename} must be given a non-trivial value. The new class instance is based on \var{fileobj}, which can be a diff --git a/Lib/gzip.py b/Lib/gzip.py index 6838d19..55d448d 100644 --- a/Lib/gzip.py +++ b/Lib/gzip.py @@ -37,7 +37,7 @@ def open(filename, mode="rb", compresslevel=9): class GzipFile: """The GzipFile class simulates most of the methods of a file object with - the exception of the readinto(), truncate(), and xreadlines() methods. + the exception of the readinto() and truncate() methods. """ |