-
-
Notifications
You must be signed in to change notification settings - Fork 31.9k
gh-90923: Improve sqlite3.Connection.execute* docs #91643
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-90923: Improve sqlite3.Connection.execute* docs #91643
Conversation
- Drop 'nonstandard'; it does not add any value - Try to be more concise - Make return value a little more explicit
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.
Looks like a nice improvement! Just one nit: for terse API references, I generally think the imperative mood sounds better than the indicative ("return the cursor object" rather than "returns the cursor object").
Great, thank you very much :) |
@JelleZijlstra, would you mind landing this? (I'd also appreciate your review) |
No problem! I have just realised that the rest of this document uses indicative (boo!), so my suggested revisions might actually put these entries out of place with the rest of the doc 🤦♂️ I still think it sounds better with my revisions, though, so I'll leave it to you to decide ;) |
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.
Looks good to me, I have no strong view on what mood to use.
Imperative! :) |
Thanks @erlend-aasland for the PR, and @JelleZijlstra for merging it 🌮🎉.. I'm working now to backport this PR to: 3.9, 3.10. |
) - Drop 'nonstandard'; it does not add any value - Try to be more concise - Make return value a little more explicit (cherry picked from commit 017f07a) Co-authored-by: Erlend Egeberg Aasland <[email protected]>
GH-91644 is a backport of this pull request to the 3.10 branch. |
GH-91645 is a backport of this pull request to the 3.9 branch. |
- Drop 'nonstandard'; it does not add any value - Try to be more concise - Make return value a little more explicit (cherry picked from commit 017f07a) Co-authored-by: Erlend Egeberg Aasland <[email protected]>
- Drop 'nonstandard'; it does not add any value - Try to be more concise - Make return value a little more explicit (cherry picked from commit 017f07a) Co-authored-by: Erlend Egeberg Aasland <[email protected]>
) - Drop 'nonstandard'; it does not add any value - Try to be more concise - Make return value a little more explicit (cherry picked from commit 017f07a) Co-authored-by: Erlend Egeberg Aasland <[email protected]>
Resolves #90923