8000 [3.12] gh-101100: Fix sphinx warnings in `unittest.mock-examples.rst` (GH-108810) by sobolevn · Pull Request #108813 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

[3.12] gh-101100: Fix sphinx warnings in unittest.mock-examples.rst (GH-108810) #108813

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

Merged
merged 2 commits into from
Sep 2, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Make the requested changes
  • Loading branch information
AlexWaygood committed Sep 2, 2023
commit 3aa0db80213240ee71233669c379390c7422a7b7
47 changes: 19 additions & 28 deletions Doc/library/uuid.rst
Original file line number Diff line number Diff line change
Expand Up @@ -95,34 +95,25 @@ which relays any information about the UUID's safety, using this enumeration:
A tuple of the six integer fields of the UUID, which are also available as six
individual attributes and two derived attributes:

.. list-table::

* - Field
- Meaning

* - .. attribute:: UUID.time_low
- The first 32 bits of the UUID.

* - .. attribute:: UUID.time_mid
- The next 16 bits of the UUID.

* - .. attribute:: UUID.time_hi_version
- The next 16 bits of the UUID.

* - .. attribute:: UUID.clock_seq_hi_variant
- The next 8 bits of the UUID.

* - .. attribute:: UUID.clock_seq_low
- The next 8 bits of the UUID.

* - .. attribute:: UUID.node
- The last 48 bits of the UUID.

* - .. attribute:: UUID.time
- The 60-bit timestamp.

* - .. attribute:: UUID.clock_seq
- The 14-bit sequence number.
+------------------------------+-------------------------------+
| Field | Meaning |
+==============================+===============================+
| :attr:`time_low` | the first 32 bits of the UUID |
+------------------------------+-------------------------------+
| :attr:`time_mid` | the next 16 bits of the UUID |
+------------------------------+-------------------------------+
| :attr:`time_hi_version` | the next 16 bits of the UUID |
+------------------------------+-------------------------------+
| :attr:`clock_seq_hi_variant` | the next 8 bits of the UUID |
+-------------------------- 5A4F ----+-------------------------------+
| :attr:`clock_seq_low` | the next 8 bits of the UUID |
+------------------------------+-------------------------------+
| :attr:`node` | the last 48 bits of the UUID |
+------------------------------+-------------------------------+
| :attr:`time` | the 60-bit timestamp |
+------------------------------+-------------------------------+
| :attr:`clock_seq` | the 14-bit sequence number |
+------------------------------+-------------------------------+


.. attribute:: UUID.hex
Expand Down
0