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

Skip to content

Commit 5d63a39

Browse files
committed
is_zipfile() description: Use the same name for the parameter as the
code, in case someone wants to use it as a keyword paramter. ZIP_DEFLATED description: Do not reveal the specific value of the constant, since code should only use the symbolic name.
1 parent 50a22a4 commit 5d63a39

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Doc/lib/libzipfile.tex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,14 +47,14 @@ \section{\module{zipfile} ---
4747
are described in section \ref{zipinfo-objects}, ``ZipInfo Objects.''
4848
\end{classdesc}
4949

50-
\begin{funcdesc}{is_zipfile}{path}
51-
Returns true if \var{path} is a valid ZIP file based on its magic
50+
\begin{funcdesc}{is_zipfile}{filename}
51+
Returns true if \var{filename} is a valid ZIP file based on its magic
5252
number, otherwise returns false. This module does not currently
5353
handle ZIP files which have appended comments.
5454
\end{funcdesc}
5555

5656
\begin{datadesc}{ZIP_STORED}
57-
The numeric constant (\code{0}) for an uncompressed archive member.
57+
The numeric constant for an uncompressed archive member.
5858
\end{datadesc}
5959

6060
\begin{datadesc}{ZIP_DEFLATED}

0 commit comments

Comments
 (0)