| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
I'm sleepy.
| Set the keyword-only argument default values of the function object *op*. | ||
| *defaults* must be a dictionary of keyword-only arguments or ``Py_None``. |
There was a problem hiding this comment.
| Set the keyword-only argument default values of the function object *op*. | |
| *defaults* must be a dictionary of keyword-only arguments or ``Py_None``. | |
| Set the keyword-only parameter default values of the function object *op*. | |
| *defaults* must be a dictionary of keyword-only parameters or ``Py_None``. |
Sorry, something went wrong.
There was a problem hiding this comment.
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.
Sorry, something went wrong.
There was a problem hiding this comment.
I'm not a fan of such a precedent, but unfortunately it is. Fixing this is tracked in #133438.
Sorry, something went wrong.
There was a problem hiding this comment.
LGTM
Sorry, something went wrong.
|
Thanks @ZeroIntensity for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14. |
Sorry, something went wrong.
(cherry picked from commit 18529b5) Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
|
GH-141304 is a backport of this pull request to the 3.14 branch. |
Sorry, something went wrong.
(cherry picked from commit 18529b5) Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
|
GH-141305 is a backport of this pull request to the 3.13 branch. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
📚 Documentation preview 📚: https://cpython-previews--141294.org.readthedocs.build/en/141294/c-api/function.html#c.PyFunction_SetKwDefaults