From cdf8b34b5164fb660c6d2554efb0bf45896c09e2 Mon Sep 17 00:00:00 2001 From: Georg Brandl <georg@python.org> Date: Mon, 8 Jun 2009 09:07:34 +0000 Subject: Fix default value in docstring. --- Lib/mimetypes.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Lib/mimetypes.py b/Lib/mimetypes.py index 4c49d9d..f0da453 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: -- cgit v0.12