Skip to content

Fix typos in C API Type Objects documentation#154150

Merged
StanFromIreland merged 1 commit into
python:mainfrom
michaelbnewman:fix-typo-c-api-type
Jul 19, 2026
Merged

Fix typos in C API Type Objects documentation#154150
StanFromIreland merged 1 commit into
python:mainfrom
michaelbnewman:fix-typo-c-api-type

Conversation

@michaelbnewman

@michaelbnewman michaelbnewman commented Jul 19, 2026

Copy link
Copy Markdown
Contributor

Fix 2 typos in C API Type Objects documentation.

Method

% brew install typos-cli

% typos type.rst
error: `targetting` should be `targeting`
    ╭▸ type.rst:702:16

702 │       When not targetting older Python versions, pefer :c:macro:`!Py_tp_bases`.
    ╰╴               ━━━━━━━━━━
error: `pefer` should be `prefer`
    ╭▸ type.rst:702:50

702 │       When not targetting older Python versions, pefer :c:macro:`!Py_tp_bases`.
    ╰╴                                                 ━━━━━

% typos --write-changes type.rst

Other Considerations Taken

  • Confirm this is not an intentional typo.
  • Confirm this is not a duplicate issue/PR.

@read-the-docs-community

Copy link
Copy Markdown

Documentation build overview

📚 cpython-previews | 🛠️ Build #33654753 | 📁 Comparing 56f62f9 against main (69d44f8)

  🔍 Preview build  

1 file changed
± c-api/type.html

@StanFromIreland StanFromIreland added needs backport to 3.14 bugs and security fixes needs backport to 3.15 pre-release feature fixes, bugs and security fixes labels Jul 19, 2026
@StanFromIreland
StanFromIreland merged commit 53916ee into python:main Jul 19, 2026
46 checks passed
@github-project-automation github-project-automation Bot moved this from Todo to Done in Docs PRs Jul 19, 2026
@miss-islington-app

Copy link
Copy Markdown

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

@miss-islington-app

Copy link
Copy Markdown

Sorry, @michaelbnewman and @StanFromIreland, I could not cleanly backport this to 3.14 due to a conflict.
Please backport using cherry_picker on command line.

cherry_picker 53916ee48d2e78592898bea2e52bfeb4497e0bcd 3.14

@bedevere-app

bedevere-app Bot commented Jul 19, 2026

Copy link
Copy Markdown

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

@bedevere-app bedevere-app Bot removed the needs backport to 3.15 pre-release feature fixes, bugs and security fixes label Jul 19, 2026
@StanFromIreland StanFromIreland removed the needs backport to 3.14 bugs and security fixes label Jul 19, 2026
@StanFromIreland

Copy link
Copy Markdown
Member

Merged, thanks.

StanFromIreland pushed a commit that referenced this pull request Jul 19, 2026
…4180)

(cherry picked from commit 53916ee)

Co-authored-by: Michael Newman <michael.b.newman@gmail.com>
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