Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

gh-123138: Updated email.headerregistry docs to include required keyword parse_tree#134450

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
GGyll wants to merge2 commits intopython:main
base:main
Choose a base branch
Loading
fromGGyll:docs/updated_email.headerregistry-docs
Open
Changes from1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
PrevPrevious commit
removed trailing whitespace in email.headerregistry.rst
  • Loading branch information
@GGyll
GGyll authoredMay 21, 2025
commitcbda98f2e143ced90c7dbcb4b475a587e97dec95
6 changes: 3 additions & 3 deletionsDoc/library/email.headerregistry.rst
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -96,9 +96,9 @@ headers.
``kwds`` is a dictionary containing one pre-initialized key, ``defects``.
``defects`` is an empty list. The parse method should append any detected
defects to this list. On return, the ``kwds`` dictionary *must* contain
values for at least the keys ``decoded``, ``defects`` and ``parse_tree``.
``decoded`` should be the string value for the header (that is, the header
value fully decoded to unicode). ``parse_tree`` is set to the parse tree obtained
values for at least the keys ``decoded``, ``defects`` and ``parse_tree``.
``decoded`` should be the string value for the header (that is, the header
value fully decoded to unicode). ``parse_tree`` is set to the parse tree obtained
from parsing the header. The parse method should assume that *string* may
contain content-transfer-encoded parts, but should correctly handle all valid
unicode characters as well so that it can parse un-encoded header values.
Expand Down
Loading

[8]ページ先頭

©2009-2025 Movatter.jp