summaryrefslogtreecommitdiffstats
path: root/Doc/lib/libgzip.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/lib/libgzip.tex')
-rw-r--r--Doc/lib/libgzip.tex4
1 files changed, 3 insertions, 1 deletions
diff --git a/Doc/lib/libgzip.tex b/Doc/lib/libgzip.tex
index 5dff3d1..a56e573 100644
--- a/Doc/lib/libgzip.tex
+++ b/Doc/lib/libgzip.tex
@@ -12,9 +12,11 @@ file object.
\class{GzipFile} objects simulate most of the methods of a file
object, though it's not possible to use the \method{seek()} and
\method{tell()} methods to access the file randomly.
+\withsubitem{(class in gzip)}{\ttindex{GzipFile}}
-\begin{funcdesc}{open}{fileobj\optional{, filename\optional{, mode\optional{, compresslevel}}}}
+\begin{funcdesc}{open}{fileobj\optional{, filename\optional{,
+ mode\optional{, compresslevel}}}}
Returns a new \class{GzipFile} object on top of \var{fileobj}, which
can be a regular file, a \class{StringIO} object, or any object which
simulates a file.