Skip to content

[3.15] gh-62978: Use Python 3 terms in the email package docs (GH-155190) - #155635

Open
miss-islington wants to merge 1 commit into
python:3.15from
miss-islington:backport-4603523-3.15
Open

[3.15] gh-62978: Use Python 3 terms in the email package docs (GH-155190)#155635
miss-islington wants to merge 1 commit into
python:3.15from
miss-islington:backport-4603523-3.15

Conversation

@miss-islington

@miss-islington miss-islington commented Aug 12, 2026

Copy link
Copy Markdown
Contributor

Replace "Unicode string" with "string" and the unicode() built-in with
str() in docstrings, comments and documentation of the email package.
"byte string" is only replaced with "bytes" where other bytes-like
objects are not accepted.
(cherry picked from commit 4603523)

Co-authored-by: Serhiy Storchaka storchaka@gmail.com
Co-authored-by: Claude Opus 5 (1M context) noreply@anthropic.com

…H-155190)

Replace "Unicode string" with "string" and the unicode() built-in with
str() in docstrings, comments and documentation of the email package.
"byte string" is only replaced with "bytes" where other bytes-like
objects are not accepted.
(cherry picked from commit 4603523ea1cba1ffc47f7704dc5ffe3ed9bf709e)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
@read-the-docs-community

Copy link
Copy Markdown

@terryjreedy terryjreedy left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR is 99% changing 'unicode' to '', 'str', 'string', 'a string', or 'Unicode' as appropriate.
I approve this 3.15 backport.

I reviewed this after the main merge, finishing after the 3.14, 3.13 merges. I mentioned a couple of possible changes, which Serhiy can either dismiss or addresss in a followup.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants