@@ -167,7 +167,6 @@ which relays any information about the UUID's safety, using this enumeration:
167
167
The :mod: `uuid ` module defines the following functions:
168
168
169
169
170
- .. index :: single: getnode
171
170
.. function :: getnode()
172
171
173
172
Get the hardware address as a 48-bit positive integer. The first time this
@@ -186,7 +185,6 @@ The :mod:`uuid` module defines the following functions:
186
185
globally unique, while the latter are not.
187
186
188
187
189
- .. index :: single: uuid1
190
188
.. function :: uuid1(node=None, clock_seq=None)
191
189
192
190
Generate a UUID from a host ID, sequence number, and the current time. If *node *
@@ -195,29 +193,25 @@ The :mod:`uuid` module defines the following functions:
195
193
14-bit sequence number is chosen.
196
194
197
195
198
- .. index :: single: uuid3
199
196
.. function :: uuid3(namespace, name)
200
197
201
198
Generate a UUID based on the MD5 hash of a namespace identifier (which is a
202
199
UUID) and a name (which is a :class: `bytes ` object or a string
203
200
that will be encoded using UTF-8).
204
201
205
202
206
- .. index :: single: uuid4
207
203
.. function :: uuid4()
208
204
209
205
Generate a random UUID.
210
206
211
207
212
- .. index :: single: uuid5
213
208
.. function :: uuid5(namespace, name)
214
209
215
210
Generate a UUID based on the SHA-1 hash of a namespace identifier (which is a
216
211
UUID) and a name (which is a :class: `bytes ` object or a string
217
212
that will be encoded using UTF-8).
218
213
219
214
220
- .. index :: single: uuid8
221
215
.. function :: uuid8(a=None, b=None, c=None)
222
216
223
217
Generate a pseudo-random UUID according to
0 commit comments