emailutil.py updated docstrings
Argument added.
This commit is contained in:
@ -22,6 +22,7 @@ from email.parser import Parser as MailParser
|
|||||||
def get_message_date(content, header='Date'):
|
def get_message_date(content, header='Date'):
|
||||||
"""Parses mail and returns resulting timestamp.
|
"""Parses mail and returns resulting timestamp.
|
||||||
|
|
||||||
|
:param content: Mail content
|
||||||
:param header: the header to extract date from;
|
:param header: the header to extract date from;
|
||||||
:returns: timestamp or `None` in the case of failure.
|
:returns: timestamp or `None` in the case of failure.
|
||||||
"""
|
"""
|
||||||
|
Reference in New Issue
Block a user