Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
97c5fccd
Commit
97c5fccd
authored
Aug 06, 2002
by
Guido van Rossum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove mention of deprecated xreadlines method.
parent
d79f6837
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
Doc/lib/libgzip.tex
Doc/lib/libgzip.tex
+2
-2
Lib/gzip.py
Lib/gzip.py
+1
-1
No files found.
Doc/lib/libgzip.tex
View file @
97c5fccd
...
...
@@ -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
...
...
Lib/gzip.py
View file @
97c5fccd
...
...
@@ -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.
"""
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment