From: Georg Brandl Date: Mon, 8 Jun 2009 09:07:34 +0000 (+0000) Subject: Fix default value in docstring. X-Git-Tag: v3.1rc2~41 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=cdf8b34b5164fb660c6d2554efb0bf45896c09e2;p=thirdparty%2FPython%2Fcpython.git Fix default value in docstring. --- diff --git a/Lib/mimetypes.py b/Lib/mimetypes.py index 4c49d9de82b6..f0da453da05e 100644 --- a/Lib/mimetypes.py +++ b/Lib/mimetypes.py @@ -2,9 +2,9 @@ This module defines two useful functions: -guess_type(url, strict=1) -- guess the MIME type and encoding of a URL. +guess_type(url, strict=True) -- guess the MIME type and encoding of a URL. -guess_extension(type, strict=1) -- guess the extension for a given MIME type. +guess_extension(type, strict=True) -- guess the extension for a given MIME type. It also contains the following, for tuning the behavior: