| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
There was a problem hiding this comment.
This might be higher up in the list.
Should **kwargs be documented too, possibly together with *args?
Sorry, something went wrong.
|
Thanks for the review!
Is it ok to move it below How to convert METH_O and METH_NOARGS functions?
According to python/cpython#64490, **kwargs is not supported by Argument Clinic. |
Sorry, something went wrong.
|
@ezio-melotti You have more experience with this tool than I do. Is this PR ready for merge? |
Sorry, something went wrong.
|
|
||
| To convert a var-positional parameter function, | ||
| prepending the parameter name with ``*`` , | ||
| and the parameter should use the ``object`` converter:: |
There was a problem hiding this comment.
What happens if I use something else? E.g., what if I want to accept an arbitrary number of ints?
Also, what type does the implementation function receive?
Sorry, something went wrong.
There was a problem hiding this comment.
Thank you for the review! I have added a new paragraph to explain more about it.
Sorry, something went wrong.
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
| Back | FazBrowse Home | New Git URL |
This is related to python/cpython#64490
📚 Documentation preview 📚: https://cpython-devguide--1277.org.readthedocs.build/