summaryrefslogtreecommitdiff
path: root/Lib/mimetypes.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2009-06-08 09:07:34 +0000
committerGeorg Brandl <georg@python.org>2009-06-08 09:07:34 +0000
commitcdf8b34b5164fb660c6d2554efb0bf45896c09e2 (patch)
treec12f7983f180c51cc28f4ce42c7a53b6962ddf53 /Lib/mimetypes.py
parent472f2e22054a36cfe4331e474ab446f0a17888f7 (diff)
downloadcpython-git-cdf8b34b5164fb660c6d2554efb0bf45896c09e2.tar.gz
Fix default value in docstring.
Diffstat (limited to 'Lib/mimetypes.py')
-rw-r--r--Lib/mimetypes.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/mimetypes.py b/Lib/mimetypes.py
index 4c49d9de82..f0da453da0 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: