Skip to content

Commit a09199e

Browse files
miss-islingtonshadchinkumaraditya303
authored
[3.13] Docs: fix docstring of email.message.Message.add_header (pythonGH-134355) (python#135340)
Docs: fix docstring of `email.message.Message.add_header` (pythonGH-134355) (cherry picked from commit c23eec2) Co-authored-by: Alexander Shadchin <[email protected]> Co-authored-by: Kumar Aditya <[email protected]>
1 parent 67c7439 commit a09199e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/email/message.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -564,7 +564,7 @@ def add_header(self, _name, _value, **_params):
564564
565565
msg.add_header('content-disposition', 'attachment', filename='bud.gif')
566566
msg.add_header('content-disposition', 'attachment',
567-
filename=('utf-8', '', Fußballer.ppt'))
567+
filename=('utf-8', '', 'Fußballer.ppt'))
568568
msg.add_header('content-disposition', 'attachment',
569569
filename='Fußballer.ppt'))
570570
"""

0 commit comments

Comments
 (0)