-
-
Notifications
You must be signed in to change notification settings - Fork 30.5k
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
Loading
edited by bedevere-bot
- Issue: Document all parameters of all sqlite3 functions/methods #95235
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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 <[email protected]>
Suggestions applied; a great improvement. Thanks again. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM now, thanks @erlend-aasland
Thanks @erlend-aasland for the PR 🌮🎉.. I'm working now to backport this PR to: 3.10, 3.11. |
…ythonGH-95240) Co-authored-by: CAM Gerlach <[email protected]> (cherry picked from commit 5012bed) Co-authored-by: Erlend Egeberg Aasland <[email protected]>
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 <[email protected]>. (cherry picked from commit 5012bed) Co-authored-by: Erlend Egeberg Aasland <[email protected]>
GH-95268 is a backport of this pull request to the 3.10 branch. |
…H-95240) (#95268) Co-authored-by: CAM Gerlach <[email protected]>. (cherry picked from commit 5012bed) Co-authored-by: Erlend Egeberg Aasland <[email protected]>
…) (GH-95263) Co-authored-by: CAM Gerlach <[email protected]> (cherry picked from commit 5012bed) Co-authored-by: Erlend Egeberg Aasland <[email protected]>