@@ -184,8 +184,6 @@ The :mod:`uuid` module defines the following functions:
184
184
administered MAC addresses, since the former are guaranteed to be
185
185
globally unique, while the latter are not.
186
186
187
- .. index :: single: getnode
188
-
189
187
190
188
.. function :: uuid1(node=None, clock_seq=None)
191
189
@@ -194,33 +192,25 @@ The :mod:`uuid` module defines the following functions:
194
192
*clock_seq * is given, it is used as the sequence number; otherwise a random
195
193
14-bit sequence number is chosen.
196
194
197
- .. index :: single: uuid1
198
-
199
195
200
196
.. function :: uuid3(namespace, name)
201
197
202
198
Generate a UUID based on the MD5 hash of a namespace identifier (which is a
203
199
UUID) and a name (which is a :class: `bytes ` object or a string
204
200
that will be encoded using UTF-8).
205
201
206
- .. index :: single: uuid3
207
-
208
202
209
203
.. function :: uuid4()
210
204
211
205
Generate a random UUID.
212
206
213
- .. index :: single: uuid4
214
-
215
207
216
208
.. function :: uuid5(namespace, name)
217
209
218
210
Generate a UUID based on the SHA-1 hash of a namespace identifier (which is a
219
211
UUID) and a name (which is a :class: `bytes ` object or a string
220
212
that will be encoded using UTF-8).
221
213
222
- .. index :: single: uuid5
223
-
224
214
225
215
.. function :: uuid8(a=None, b=None, c=None)
226
216
@@ -235,8 +225,6 @@ The :mod:`uuid` module defines the following functions:
235
225
236
226
.. versionadded :: 3.14
237
227
238
- .. index :: single: uuid8
239
-
240
228
241
229
The :mod: `uuid ` module defines the following namespace identifiers for use with
242
230
:func: `uuid3 ` or :func: `uuid5 `.
0 commit comments