Skip to content

Commit 66a65ba

Browse files
authored
Improve readability of formataddr docstring (GH-20963)
For me as a non native English speaker, the sentence with its embedded clause was very hard to understand. modified: Lib/email/utils.py Automerge-Triggered-By: @csabella
1 parent 310f6aa commit 66a65ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/email/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ def formataddr(pair, charset='utf-8'):
8181
If the first element of pair is false, then the second element is
8282
returned unmodified.
8383
84-
Optional charset if given is the character set that is used to encode
84+
The optional charset is the character set that is used to encode
8585
realname in case realname is not ASCII safe. Can be an instance of str or
8686
a Charset-like object which has a header_encode method. Default is
8787
'utf-8'.

0 commit comments

Comments
 (0)