summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1998-04-03 06:48:16 (GMT)
committerFred Drake <fdrake@acm.org>1998-04-03 06:48:16 (GMT)
commitc3486318e06d2a6c20b7a6d55436e90160c199bf (patch)
tree644004de0794038d430ae0fa5791d00a9ec89a44 /Doc
parentd678cb7a6c0156609fde47919a84e8e0b74c29a0 (diff)
downloadcpython-c3486318e06d2a6c20b7a6d55436e90160c199bf.zip
cpython-c3486318e06d2a6c20b7a6d55436e90160c199bf.tar.gz
cpython-c3486318e06d2a6c20b7a6d55436e90160c199bf.tar.bz2
Add index entry for GzipFile class.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/lib/libgzip.tex4
-rw-r--r--Doc/libgzip.tex4
2 files changed, 6 insertions, 2 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.
diff --git a/Doc/libgzip.tex b/Doc/libgzip.tex
index 5dff3d1..a56e573 100644
--- a/Doc/libgzip.tex
+++ b/Doc/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.