diff options
Diffstat (limited to 'alot/helper.py')
-rw-r--r-- | alot/helper.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/alot/helper.py b/alot/helper.py index 040467a6..359eabdf 100644 --- a/alot/helper.py +++ b/alot/helper.py @@ -559,9 +559,10 @@ def parse_mailto(mailto_str): Interpret mailto-string :param mailto_str: the string to interpret. Must conform to :rfc:2368. - :return: pair headers,body. headers is a dict mapping str to lists of - (str, body) is a str. - :rtype: (dict(str-->[str,..], str) + :type mailto_str: str + :return: the header fields and the body found in the mailto link as a tuple + of length two + :rtype: tuple(dict(str->list(str)), str) """ if mailto_str.startswith('mailto:'): import urllib |