summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2000-10-06 15:29:56 (GMT)
committerFred Drake <fdrake@acm.org>2000-10-06 15:29:56 (GMT)
commit5d63a39983c7444848b88099ea377b7b923eda8d (patch)
treea355d0174ee356db8a493f792a785e72e5708cd4
parent50a22a4cadd63b464f26024888168e9e06a9f120 (diff)
downloadcpython-5d63a39983c7444848b88099ea377b7b923eda8d.zip
cpython-5d63a39983c7444848b88099ea377b7b923eda8d.tar.gz
cpython-5d63a39983c7444848b88099ea377b7b923eda8d.tar.bz2
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.
-rw-r--r--Doc/lib/libzipfile.tex6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/lib/libzipfile.tex b/Doc/lib/libzipfile.tex
index 0bb5b8e7..01b010f 100644
--- a/Doc/lib/libzipfile.tex
+++ b/Doc/lib/libzipfile.tex
@@ -47,14 +47,14 @@ The available attributes of this module are:
are described in section \ref{zipinfo-objects}, ``ZipInfo Objects.''
\end{classdesc}
-\begin{funcdesc}{is_zipfile}{path}
- Returns true if \var{path} is a valid ZIP file based on its magic
+\begin{funcdesc}{is_zipfile}{filename}
+ Returns true if \var{filename} is a valid ZIP file based on its magic
number, otherwise returns false. This module does not currently
handle ZIP files which have appended comments.
\end{funcdesc}
\begin{datadesc}{ZIP_STORED}
- The numeric constant (\code{0}) for an uncompressed archive member.
+ The numeric constant for an uncompressed archive member.
\end{datadesc}
\begin{datadesc}{ZIP_DEFLATED}