-
-
Notifications
You must be signed in to change notification settings - Fork 31.9k
gh-118577: Clarify inspect signature bound arguments #119936
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gh-118577: Clarify inspect signature bound arguments #119936
Conversation
I don't think this needs so many words. Would it work to add PEP-362's wording (either to args documentation, or to the end of the class docs after the “can be used to invoke functions” note)?
|
You're right, how about adding this to the kwargs documentation? With optionally a reference to PEP-362
|
Sounds good! Except they're not kwargs any more.
The PEP is already linked a bit further down. But that should be for background infromation or reasoning behind the feature. Specification and usage notes should go in the docs. |
Done. |
Thanks @nineteendo for the PR, and @encukou for merging it 🌮🎉.. I'm working now to backport this PR to: 3.12. |
Thanks @nineteendo for the PR, and @encukou for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13. |
…alues in args (pythonGH-119936) (cherry picked from commit 8e99495) Co-authored-by: Nice Zombies <[email protected]>
GH-124004 is a backport of this pull request to the 3.12 branch. |
…alues in args (pythonGH-119936) (cherry picked from commit 8e99495) Co-authored-by: Nice Zombies <[email protected]>
GH-124005 is a backport of this pull request to the 3.13 branch. |
…values in args (GH-119936) (GH-124004) (cherry picked from commit 8e99495) Co-authored-by: Nice Zombies <[email protected]>
📚 Documentation preview 📚: https://cpython-previews--119936.org.readthedocs.build/