summaryrefslogtreecommitdiffstats
path: root/Lib/mimetypes.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2009-06-08 09:07:34 (GMT)
committerGeorg Brandl <georg@python.org>2009-06-08 09:07:34 (GMT)
commitcdf8b34b5164fb660c6d2554efb0bf45896c09e2 (patch)
treec12f7983f180c51cc28f4ce42c7a53b6962ddf53 /Lib/mimetypes.py
parent472f2e22054a36cfe4331e474ab446f0a17888f7 (diff)
downloadcpython-cdf8b34b5164fb660c6d2554efb0bf45896c09e2.zip
cpython-cdf8b34b5164fb660c6d2554efb0bf45896c09e2.tar.gz
cpython-cdf8b34b5164fb660c6d2554efb0bf45896c09e2.tar.bz2
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 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: