bpo-31507 Add docstring to parseaddr function in email.utils.parseaddr (gh-3647)
diff --git a/Lib/email/utils.py b/Lib/email/utils.py
index a759d23..39c2240 100644
--- a/Lib/email/utils.py
+++ b/Lib/email/utils.py
@@ -215,6 +215,12 @@
def parseaddr(addr):
+ """
+ Parse addr into its constituent realname and email address parts.
+
+ Return a tuple of realname and email address, unless the parse fails, in
+ which case return a 2-tuple of ('', '').
+ """
addrs = _AddressList(addr).addresslist
if not addrs:
return '', ''