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-141004: DocumentPyFunction_SetKwDefaults#141294

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

Merged

Conversation

@ZeroIntensity
Copy link
Member

@ZeroIntensityZeroIntensity commentedNov 9, 2025
edited
Loading

Comment on lines +107 to +108
Set the keyword-only argument default values of the function object *op*.
*defaults* must be a dictionary of keyword-only arguments or ``Py_None``.

Choose a reason for hiding this comment

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

Suggested change
Set the keyword-onlyargument default values of the function object *op*.
*defaults* must be a dictionary of keyword-onlyarguments or ``Py_None``.
Set the keyword-onlyparameter default values of the function object *op*.
*defaults* must be a dictionary of keyword-onlyparameters or ``Py_None``.

Copy link
MemberAuthor

Choose a reason for hiding this comment

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

We say "argument" everywhere else in this file, so I'd rather not deviate from it here. I don't think that the distinction is particularly helpful for readers here.

Choose a reason for hiding this comment

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

I'm not a fan of such a precedent, but unfortunately it is. Fixing this is tracked in#133438.

Copy link
Member

@StanFromIrelandStanFromIreland left a comment

Choose a reason for hiding this comment

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

LGTM

@ZeroIntensityZeroIntensity merged commit18529b5 intopython:mainNov 9, 2025
28 checks passed
@ZeroIntensityZeroIntensity deleted the document-set-kw-defaults branchNovember 9, 2025 17:49
@github-project-automationgithub-project-automationbot moved this fromTodo toDone inDocs PRsNov 9, 2025
@miss-islington-app
Copy link

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

miss-islington pushed a commit to miss-islington/cpython that referenced this pull requestNov 9, 2025
(cherry picked from commit 18529b580b59b8d075641da6c685bef377eb0a7b)Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
@bedevere-app
Copy link

GH-141304 is a backport of this pull request to the3.14 branch.

@bedevere-appbedevere-appbot removed the needs backport to 3.14bugs and security fixes labelNov 9, 2025
miss-islington pushed a commit to miss-islington/cpython that referenced this pull requestNov 9, 2025
(cherry picked from commit18529b5)Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
@bedevere-app
Copy link

GH-141305 is a backport of this pull request to the3.13 branch.

@bedevere-appbedevere-appbot removed the needs backport to 3.13bugs and security fixes labelNov 9, 2025
ZeroIntensity added a commit that referenced this pull requestNov 9, 2025
…-141305)gh-141004: Document `PyFunction_SetKwDefaults` (GH-141294)(cherry picked from commit18529b5)Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
ZeroIntensity added a commit that referenced this pull requestNov 9, 2025
…-141304)gh-141004: Document `PyFunction_SetKwDefaults` (GH-141294)(cherry picked from commit18529b5)Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@StanFromIrelandStanFromIrelandStanFromIreland approved these changes

Assignees

No one assigned

Labels

docsDocumentation in the Doc dirskip news

Projects

Status: Done

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@ZeroIntensity@StanFromIreland

[8]ページ先頭

©2009-2025 Movatter.jp