https://github.com/python/cpython/commit/88d8a2e9f01011762b8a430412202e93ed708f9f commit: 88d8a2e9f01011762b8a430412202e93ed708f9f branch: 3.14 author: Miss Islington (bot) <31488909+miss-isling...@users.noreply.github.com> committer: picnixz <10796600+picn...@users.noreply.github.com> date: 2025-06-10T11:00:25Z summary:
[3.14] Docs: fix docstring of `email.message.Message.add_header` (GH-134355) (#135339) Docs: fix docstring of `email.message.Message.add_header` (GH-134355) (cherry picked from commit c23eec29602eb090d6f3e854e41c22c1e2c6dfc2) Co-authored-by: Alexander Shadchin <shadc...@yandex-team.com> files: M Lib/email/message.py diff --git a/Lib/email/message.py b/Lib/email/message.py index 87fcab68868d46..41fcc2b9778798 100644 --- a/Lib/email/message.py +++ b/Lib/email/message.py @@ -564,7 +564,7 @@ def add_header(self, _name, _value, **_params): msg.add_header('content-disposition', 'attachment', filename='bud.gif') msg.add_header('content-disposition', 'attachment', - filename=('utf-8', '', Fußballer.ppt')) + filename=('utf-8', '', 'Fußballer.ppt')) msg.add_header('content-disposition', 'attachment', filename='Fußballer.ppt')) """ _______________________________________________ Python-checkins mailing list -- python-checkins@python.org To unsubscribe send an email to python-checkins-le...@python.org https://mail.python.org/mailman3//lists/python-checkins.python.org Member address: arch...@mail-archive.com