summaryrefslogtreecommitdiff
path: root/Lib/mimetypes.py
diff options
context:
space:
mode:
authorSkip Montanaro <skip@pobox.com>2001-01-25 15:29:22 +0000
committerSkip Montanaro <skip@pobox.com>2001-01-25 15:29:22 +0000
commit03d90149920274b58f6ab121caae81ae9c424946 (patch)
tree8bea349ad17369f28f22d176b5a6e0fedc7c2542 /Lib/mimetypes.py
parent438bb947893e92455decfaadd739034fe26e192a (diff)
downloadcpython-git-03d90149920274b58f6ab121caae81ae9c424946.tar.gz
added a few more __all__ lists
test___all__.py: fail silently in check_all if the module can't be imported
Diffstat (limited to 'Lib/mimetypes.py')
-rw-r--r--Lib/mimetypes.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/mimetypes.py b/Lib/mimetypes.py
index 9dc3645fd0..444184bc4b 100644
--- a/Lib/mimetypes.py
+++ b/Lib/mimetypes.py
@@ -27,6 +27,8 @@ import string
import posixpath
import urllib
+__all__ = ["guess_type","guess_extension","read_mime_types","init"]
+
knownfiles = [
"/usr/local/etc/httpd/conf/mime.types",
"/usr/local/lib/netscape/mime.types",