Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit a09199e

Browse files
miss-islingtonshadchinkumaraditya303
authoredJul 3, 2025··
[3.13] Docs: fix docstring of email.message.Message.add_header (GH-134355) (#135340)
Docs: fix docstring of `email.message.Message.add_header` (GH-134355) (cherry picked from commit c23eec2) Co-authored-by: Alexander Shadchin <shadchin@yandex-team.com> Co-authored-by: Kumar Aditya <kumaraditya@python.org>
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)
Please sign in to comment.

Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!

Check out: eBank.nz (Art Generator) | Netwrck.com (AI Tools) | Text-Generator.io (AI API) | BitBank.nz (Crypto AI) | ReadingTime (Kids Reading) | RewordGame | BigMultiplayerChess | WebFiddle | How.nz | Helix AI Assistant