From 5d63a39983c7444848b88099ea377b7b923eda8d Mon Sep 17 00:00:00 2001 From: Fred Drake Date: Fri, 6 Oct 2000 15:29:56 +0000 Subject: [PATCH] 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. --- Doc/lib/libzipfile.tex | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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} -- 2.50.1