From: Fred Drake Date: Fri, 6 Oct 2000 15:29:56 +0000 (+0000) Subject: is_zipfile() description: Use the same name for the parameter as the X-Git-Tag: v2.0c1~91 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5d63a39983c7444848b88099ea377b7b923eda8d;p=python 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. --- diff --git a/Doc/lib/libzipfile.tex b/Doc/lib/libzipfile.tex index 0bb5b8e745..01b010fdff 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}