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-95235: Add explicit parameter list to some sqlite3 methods #95240
gh-95235: Add explicit parameter list to some sqlite3 methods #95240
Conversation
erlend-aasland
commented
Jul 25, 2022
•
edited by bedevere-bot
edited by bedevere-bot
- Issue: Document all parameters of all sqlite3 functions/methods #95235
Great stuff, thanks.
Do you think its worth adding a mention to the relevant parameters that are keyword or (especially, since their name is given) positional-only?
Also, given they are positional only, would it make sense to rename the narg/n_arg/num_params parameter, which is otherwise identical, to be consistant across the three functions? There's no obvious reason why it has a different name in each despite having a seemingly identical purpose and behavior.
I'm not sure it's needed. The signature is just above the parameter list, so IMO there is no need. I have no strong opinion about it though; I could easily be convinced otherwise.
But it's not: |
Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
|
Suggestions applied; a great improvement. Thanks again. |
Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
|
Thanks @erlend-aasland for the PR |
…ythonGH-95240) Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM> (cherry picked from commit 5012bed) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com>
|
Sorry, @erlend-aasland, I could not cleanly backport this to |
|
GH-95263 is a backport of this pull request to the 3.11 branch. |
…thods (pythonGH-95240) Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>. (cherry picked from commit 5012bed) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com>
|
GH-95268 is a backport of this pull request to the 3.10 branch. |

