@@ -22,7 +22,7 @@ random UUID.
22
22
Depending on support from the underlying platform, :func: `uuid1 ` may or may
23
23
not return a "safe" UUID. A safe UUID is one which is generated using
24
24
synchronization methods that ensure no two processes can obtain the same
25
- UUID. All instances of :class: `UUID ` have an :attr: `is_safe ` attribute
25
+ UUID. All instances of :class: `UUID ` have an :attr: `~UUID. is_safe ` attribute
26
26
which relays any information about the UUID's safety, using this enumeration:
27
27
28
28
.. class :: SafeUUID
@@ -95,25 +95,34 @@ which relays any information about the UUID's safety, using this enumeration:
95
95
A tuple of the six integer fields of the UUID, which are also available as six
96
96
individual attributes and two derived attributes:
97
97
98
- +------------------------------+-------------------------------+
99
- | Field | Meaning |
100
- +==============================+===============================+
101
- | :attr: `time_low ` | the first 32 bits of the UUID |
102
- +------------------------------+-------------------------------+
103
- | :attr: `time_mid ` | the next 16 bits of the UUID |
104
- +------------------------------+-------------------------------+
105
- | :attr: `time_hi_version ` | the next 16 bits of the UUID |
106
- +------------------------------+-------------------------------+
107
- | :attr: `clock_seq_hi_variant ` | the next 8 bits of the UUID |
108
- +------------------------------+-------------------------------+
109
- | :attr: `clock_seq_low ` | the next 8 bits of the UUID |
110
- +------------------------------+-------------------------------+
111
- | :attr: `node ` | the last 48 bits of the UUID |
112
- +------------------------------+-------------------------------+
113
- | :attr: `time ` | the 60-bit timestamp |
114
- +------------------------------+-------------------------------+
115
- | :attr: `clock_seq ` | the 14-bit sequence number |
116
- +------------------------------+-------------------------------+
98
+ .. list-table ::
99
+
100
+ * - Field
101
+ - Meaning
102
+
103
+ * - .. attribute:: UUID.time_low
104
+ - The first 32 bits of the UUID.
105
+
106
+ * - .. attribute:: UUID.time_mid
107
+ - The next 16 bits of the UUID.
108
+
109
+ * - .. attribute:: UUID.time_hi_version
110
+ - The next 16 bits of the UUID.
111
+
112
+ * - .. attribute:: UUID.clock_seq_hi_variant
113
+ - The next 8 bits of the UUID.
114
+
115
+ * - .. attribute:: UUID.clock_seq_low
116
+ - The next 8 bits of the UUID.
117
+
118
+ * - .. attribute:: UUID.node
119
+ - The last 48 bits of the UUID.
120
+
121
+ * - .. attribute:: UUID.time
122
+ - The 60-bit timestamp.
123
+
124
+ * - .. attribute:: UUID.clock_seq
125
+ - The 14-bit sequence number.
117
126
118
127
119
128
.. attribute :: UUID.hex
@@ -233,7 +242,7 @@ The :mod:`uuid` module defines the following namespace identifiers for use with
233
242
text output format.
234
243
235
244
The :mod: `uuid ` module defines the following constants for the possible values
236
- of the :attr: `variant ` attribute:
245
+ of the :attr: `~UUID. variant ` attribute:
237
246
238
247
239
248
.. data :: RESERVED_NCS
0 commit comments