[Python-checkins] r73290 - python/branches/py3k/Lib/mimetypes.py

georg.brandl python-checkins at python.org
Mon Jun 8 11:07:34 CEST 2009


Author: georg.brandl
Date: Mon Jun  8 11:07:34 2009
New Revision: 73290

Log:
Fix default value in docstring.

Modified:
   python/branches/py3k/Lib/mimetypes.py

Modified: python/branches/py3k/Lib/mimetypes.py
==============================================================================
--- python/branches/py3k/Lib/mimetypes.py	(original)
+++ python/branches/py3k/Lib/mimetypes.py	Mon Jun  8 11:07:34 2009
@@ -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:
 


More information about the Python-checkins mailing list