gh-95273: Reorganize sqlite3 doc module level funcs and vars#95626
Conversation
Put module level functions before module level attributes, and (mostly) sort them alphabetically. This makes sqlite3.connect() the first encounter in the sqlite3 reference.
|
Other things to note, aside of the nice
Footnotes
|
There was a problem hiding this comment.
Great idea overall, this is certainly a significant improvement. There is one serious syntax issue that needs to be fixed, and I wonder whether it might be a better idea to split the module-level constants and functions into two separate sections for clarity.
ezio-melotti
left a comment
There was a problem hiding this comment.
The changes LGTM, assuming you just moved things around and wrapped a few long lines.
ezio-melotti
left a comment
There was a problem hiding this comment.
A small inconsequential nit, otherwise LGTM.
I've seen refs without spaces elsewhere, so you might want to double-check the whole file, possibly in a separate PR (perhaps together with adding ! to `:mod:`sqlite3`).
Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
CAM-Gerlach
left a comment
There was a problem hiding this comment.
LGTM, just a couple tiny nits.
Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
ezio-melotti
left a comment
There was a problem hiding this comment.
One last suggestion, but otherwise LGTM.
|
Thanks @erlend-aasland for the PR 🌮🎉.. I'm working now to backport this PR to: 3.10, 3.11. |
|
Sorry, @erlend-aasland, I could not cleanly backport this to |
|
Sorry, @erlend-aasland, I could not cleanly backport this to |
…vars (pythonGH-95626) Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com> Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>. (cherry picked from commit 41c939c) Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
|
GH-95801 is a backport of this pull request to the 3.11 branch. |
…vars (pythonGH-95626) Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com> Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>. (cherry picked from commit 41c939c) Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
|
GH-95803 is a backport of this pull request to the 3.10 branch. |
…ython#95626) Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com> Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
Put module level functions before module level attributes, and (mostly)
sort them alphabetically. This makes sqlite3.connect() the first
encounter in the sqlite3 reference.