Skip to content

Doc: Fix typos in documentation and docstring - #160743

Merged
methane merged 1 commit into
python:mainfrom
methane:fix-doc-typo
Oct 28, 2026
Merged

methane merged 1 commit into
python:mainfrom
methane:fix-doc-typo

Conversation

@methane

@methane methane commented Oct 27, 2026

Copy link
Copy Markdown
Member

No description provided.

@read-the-docs-community

Copy link
Copy Markdown

Comment thread Doc/whatsnew/3.10.rst
:meth:`!importlib.machinery.FrozenLoader.module_repr`, and
:meth:`!importlib.machinery.BuiltinLoader.module_repr` are deprecated and
:meth:`!importlib.machinery.FrozenImporter.module_repr`, and
:meth:`!importlib.machinery.BuiltinImporter.module_repr` are deprecated and

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

ref 1899087

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟢 Approval recommended

The changes are limited to documentation and docstring corrections, with no unresolved issues or runtime changes.

No open issues 🎉

What changed in this PR

This PR corrects typos and inaccurate API names in CPython documentation and an email policy docstring. It does not change runtime behavior.

Changes:

  • Corrects parameter names, MIME terminology, and historical API references.
  • Fixes C API identifiers and datetime macro markup.
  • Corrects an MRO example and release-note wording.
File Description
Misc/​NEWS.d/​3.15.0a1.rst Corrects the function watcher event name and grammar.
Lib/​email/​policy.py Corrects the docstring’s refold_source setting name.
Doc/​whatsnew/​3.11.rst Corrects importer class names.
Doc/​whatsnew/​3.10.rst Corrects zipimport, importer, and Thread references.
Doc/​library/​select.rst Corrects the fflags parameter name.
Doc/​library/​mailbox.rst Corrects the set_info example argument.
Doc/​library/​email.policy.rst Corrects the refold_source setting name.
Doc/​library/​email.message.rst Corrects the multipart/alternative MIME type.
Doc/​library/​email.generator.rst Corrects parameter names and an email header name.
Doc/​howto/​mro.rst Replaces zero with class O in a linearization example.
Doc/​c-api/​function.rst Corrects the function watcher event identifier.
Doc/​c-api/​datetime.rst Corrects datetime import macro markup.

Review effort: Balanced

@methane
methane merged commit dbf9776 into python:main Oct 28, 2026
72 checks passed
@methane
methane deleted the fix-doc-typo branch October 28, 2026 02:33
@github-project-automation github-project-automation Bot moved this from Todo to Done in Docs PRs Oct 28, 2026
@miss-islington-app

Copy link
Copy Markdown

Thanks @methane for the PR 🌮🎉.. I'm working now to backport this PR to: 3.14, 3.15.
🐍🍒⛏🤖

@miss-islington-app

Copy link
Copy Markdown

Sorry, @methane, I could not cleanly backport this to 3.14 due to a conflict.

Please backport manually with cherry_picker, see the devguide for more information.

cherry_picker dbf9776413874d7d53931a9e1e928ce254881d22 3.14

@bedevere-app

bedevere-app Bot commented Oct 28, 2026

Copy link
Copy Markdown

GH-160794 is a backport of this pull request to the 3.15 branch.

@bedevere-app

bedevere-app Bot commented Oct 28, 2026

Copy link
Copy Markdown

GH-160795 is a backport of this pull request to the 3.14 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.14 bugs and security fixes label Oct 28, 2026
methane added a commit that referenced this pull request Oct 28, 2026
(cherry picked from commit dbf9776)

Co-authored-by: Inada Naoki <songofacandy@gmail.com>
methane added a commit that referenced this pull request Oct 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation in the Doc dir skip issue skip news

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants