-
-
Notifications
You must be signed in to change notification settings - Fork 30.8k
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-101100: Fix sphinx warnings in uuid.rst
#108805
Conversation
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.
Thanks! And easier to later edit a list-table
than mess with the "ASCII art" one :)
😢 |
There's a new commit after the PR has been approved. @hugovk: please review the changes made to this pull request. |
* pythongh-101100: Fix sphinx warnings in `uuid.rst` * Use anchors (cherry picked from commit 21da498) Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
GH-108807 is a backport of this pull request to the 3.12 branch. |
GH-108808 is a backport of this pull request to the 3.11 branch. |
* pythongh-101100: Fix sphinx warnings in `uuid.rst` * Use anchors (cherry picked from commit 21da498) Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
- The last 48 bits of the UUID. | ||
|
||
* - .. attribute:: UUID.time | ||
- The the 60-bit timestamp. |
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.
Sorry, I missed the "the the" typo here. I've fixed it in the backports, please could you fix main
? (I'm on a phone, otherwise I could do it myself.) Thanks!
I mean it can be time-consuming to adjust the layout when changing text that then requires changing the number of hyphens, equals signs, whitespace and so on. |
- Meaning | ||
|
||
* - .. attribute:: UUID.time_low | ||
- The next 32 bits of the UUID. |
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.
There's another mistake here:
- The next 32 bits of the UUID. | |
- The first 32 bits of the UUID. |
@sobolevn, could you fix it?
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.
For future reference: this is being addressed in #108810
GH-108808 is a backport of this pull request to the 3.11 branch. |
GH-108807 is a backport of this pull request to the 3.12 branch. |
) * gh-101100: Fix sphinx warnings in `uuid.rst` (GH-108805) * gh-101100: Fix sphinx warnings in `uuid.rst` * Use anchors (cherry picked from commit 21da498) Co-authored-by: Nikita Sobolev <mail@sobolevn.me> * Fix typo * another typo --------- Co-authored-by: Nikita Sobolev <mail@sobolevn.me> Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Warnings before:
Turns out all attributes that are defined in
.fields
are not documented intentionally (as far as I understand from the docs.📚 Documentation preview 📚: https://cpython-previews--108805.org.readthedocs.build/