@@ -187,41 +187,38 @@ The :mod:`uuid` module defines the following functions:
187187.. index :: single: getnode
188188
189189
190+ .. index :: single: uuid1
190191.. function :: uuid1(node=None, clock_seq=None)
191192
192193 Generate a UUID from a host ID, sequence number, and the current time. If *node *
193194 is not given, :func: `getnode ` is used to obtain the hardware address. If
194195 *clock_seq * is given, it is used as the sequence number; otherwise a random
195196 14-bit sequence number is chosen.
196197
197- .. index :: single: uuid1
198-
199198
199+ .. index :: single: uuid3
200200.. function :: uuid3(namespace, name)
201201
202202 Generate a UUID based on the MD5 hash of a namespace identifier (which is a
203203 UUID) and a name (which is a :class: `bytes ` object or a string
204204 that will be encoded using UTF-8).
205205
206- .. index :: single: uuid3
207-
208206
207+ .. index :: single: uuid4
209208.. function :: uuid4()
210209
211210 Generate a random UUID.
212211
213- .. index :: single: uuid4
214-
215212
213+ .. index :: single: uuid5
216214.. function :: uuid5(namespace, name)
217215
218216 Generate a UUID based on the SHA-1 hash of a namespace identifier (which is a
219217 UUID) and a name (which is a :class: `bytes ` object or a string
220218 that will be encoded using UTF-8).
221219
222- .. index :: single: uuid5
223-
224220
221+ .. index :: single: uuid8
225222.. function :: uuid8(a=None, b=None, c=None)
226223
227224 Generate a pseudo-random UUID according to
@@ -235,8 +232,6 @@ The :mod:`uuid` module defines the following functions:
235232
236233 .. versionadded :: 3.14
237234
238- .. index :: single: uuid8
239-
240235
241236The :mod: `uuid ` module defines the following namespace identifiers for use with
242237:func: `uuid3 ` or :func: `uuid5 `.
0 commit comments