Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c348631

Browse files
committed
Add index entry for GzipFile class.
1 parent d678cb7 commit c348631

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

Doc/lib/libgzip.tex

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,11 @@ \section{Standard Module \sectcode{gzip}}
1212
\class{GzipFile} objects simulate most of the methods of a file
1313
object, though it's not possible to use the \method{seek()} and
1414
\method{tell()} methods to access the file randomly.
15+
\withsubitem{(class in gzip)}{\ttindex{GzipFile}}
1516

1617

17-
\begin{funcdesc}{open}{fileobj\optional{, filename\optional{, mode\optional{, compresslevel}}}}
18+
\begin{funcdesc}{open}{fileobj\optional{, filename\optional{,
19+
mode\optional{, compresslevel}}}}
1820
Returns a new \class{GzipFile} object on top of \var{fileobj}, which
1921
can be a regular file, a \class{StringIO} object, or any object which
2022
simulates a file.

Doc/libgzip.tex

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,11 @@ \section{Standard Module \sectcode{gzip}}
1212
\class{GzipFile} objects simulate most of the methods of a file
1313
object, though it's not possible to use the \method{seek()} and
1414
\method{tell()} methods to access the file randomly.
15+
\withsubitem{(class in gzip)}{\ttindex{GzipFile}}
1516

1617

17-
\begin{funcdesc}{open}{fileobj\optional{, filename\optional{, mode\optional{, compresslevel}}}}
18+
\begin{funcdesc}{open}{fileobj\optional{, filename\optional{,
19+
mode\optional{, compresslevel}}}}
1820
Returns a new \class{GzipFile} object on top of \var{fileobj}, which
1921
can be a regular file, a \class{StringIO} object, or any object which
2022
simulates a file.

0 commit comments

Comments
 (0)