diff options
author | Skip Montanaro <skip@pobox.com> | 2001-01-25 15:29:22 +0000 |
---|---|---|
committer | Skip Montanaro <skip@pobox.com> | 2001-01-25 15:29:22 +0000 |
commit | 03d90149920274b58f6ab121caae81ae9c424946 (patch) | |
tree | 8bea349ad17369f28f22d176b5a6e0fedc7c2542 /Lib/mimetypes.py | |
parent | 438bb947893e92455decfaadd739034fe26e192a (diff) | |
download | cpython-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.py | 2 |
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", |