Skip to content

Fix typos in os.getppid, _zstd.get_frame_info and sysconfig docstrings - #161181

Merged
StanFromIreland merged 1 commit into
python:mainfrom
thejesh23:docstring-typos
Nov 2, 2026
Merged

StanFromIreland merged 1 commit into
python:mainfrom
thejesh23:docstring-typos

Conversation

@thejesh23

Copy link
Copy Markdown
Contributor

Trivial typo fixes in user-visible docstrings (suggest skip issue and skip news):

  • os.getppid() (Modules/posixmodule.c): "others systems" -> "other systems", "proces" -> "process"
  • _zstd.get_frame_info() (Modules/_zstd/_zstdmodule.c): "infomation" -> "information"
  • sysconfig._installation_is_relocated() (Lib/sysconfig/__init__.py): "targetted" -> "targeted"

The clinic headers were regenerated with Tools/clinic/clinic.py, so only the docstring text and the checksums changed.

AI disclosure: prepared with the help of Claude Code; I reviewed the change and the test results.

@python-cla-bot

python-cla-bot Bot commented Nov 2, 2026 •

Copy link
Copy Markdown

All commit authors signed the Contributor License Agreement.

CLA signed

@bedevere-app

bedevere-app Bot commented Nov 2, 2026

Copy link
Copy Markdown

Most changes to Python require a NEWS entry. Add one using the blurb_it web app or the blurb command-line tool.

If this change has little impact on Python users, wait for a maintainer to apply the skip news label instead.

@StanFromIreland StanFromIreland added needs backport to 3.14 bugs and security fixes needs backport to 3.15 bugs and security fixes labels Nov 2, 2026
@StanFromIreland
StanFromIreland merged commit 126f33e into python:main Nov 2, 2026
69 checks passed
@github-project-automation github-project-automation Bot moved this from Todo to Done in Docs PRs Nov 2, 2026
@miss-islington-app

Copy link
Copy Markdown

Thanks @thejesh23 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, @thejesh23 and @StanFromIreland, I could not cleanly backport this to 3.15 due to a conflict.

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

cherry_picker 126f33e9e0932438900f22ef77143f50ec2beb1e 3.15

@miss-islington-app

Copy link
Copy Markdown

Sorry, @thejesh23 and @StanFromIreland, 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 126f33e9e0932438900f22ef77143f50ec2beb1e 3.14

@StanFromIreland

Copy link
Copy Markdown
Member

Can you please do the backports?

@bedevere-app

bedevere-app Bot commented Nov 2, 2026

Copy link
Copy Markdown

GH-161203 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 Nov 2, 2026
@thejesh23

Copy link
Copy Markdown
Contributor Author

Backports: 3.14 is #161203. The 3.15 backport is ready on thejesh23:backport-126f33e-3.15 (cherry-picked with -x, clinic header regenerated on 3.15), but GitHub refuses to let me open a PR against 3.15 ("does not have the correct permissions to execute CreatePullRequest"). Could someone open it from that branch, or let me know if 3.15 is restricted right now?

StanFromIreland pushed a commit that referenced this pull request Nov 2, 2026
@StanFromIreland

Copy link
Copy Markdown
Member

I merged the 3.14 backport, you should be able to open the 3.15 one now.

@bedevere-app

bedevere-app Bot commented Nov 3, 2026

Copy link
Copy Markdown

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

@bedevere-app bedevere-app Bot removed the needs backport to 3.15 bugs and security fixes label Nov 3, 2026
StanFromIreland pushed a commit that referenced this pull request Nov 3, 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.

2 participants