summaryrefslogtreecommitdiffstats
path: root/Doc/library/mailcap.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/library/mailcap.rst')
-rw-r--r--Doc/library/mailcap.rst3
1 files changed, 1 insertions, 2 deletions
diff --git a/Doc/library/mailcap.rst b/Doc/library/mailcap.rst
index 8dcb1ec..0a0a790 100644
--- a/Doc/library/mailcap.rst
+++ b/Doc/library/mailcap.rst
@@ -5,7 +5,6 @@
:synopsis: Mailcap file handling.
-
Mailcap files are used to configure how MIME-aware applications such as mail
readers and Web browsers react to files with different MIME types. (The name
"mailcap" is derived from the phrase "mail capability".) For example, a mailcap
@@ -20,7 +19,7 @@ Mechanism For Multimedia Mail Format Information," but is not an Internet
standard. However, mailcap files are supported on most Unix systems.
-.. function:: findmatch(caps, MIMEtype[, key[, filename[, plist]]])
+.. function:: findmatch(caps, MIMEtype, key='view', filename='/dev/null', plist=[])
Return a 2-tuple; the first element is a string containing the command line to
be executed (which can be passed to :func:`os.system`), and the second element