@@ -23,12 +23,13 @@ random UUID.
23
23
.. class :: UUID(hex=None, bytes=None, bytes_le=None, fields=None, int=None, version=None)
24
24
25
25
Create a UUID from either a string of 32 hexadecimal digits, a string of 16
26
- bytes as the *bytes * argument, a string of 16 bytes in little-endian order as
27
- the *bytes_le * argument, a tuple of six integers (32-bit *time_low *, 16-bit
28
- *time_mid *, 16-bit *time_hi_version *, 8-bit *clock_seq_hi_variant *, 8-bit
29
- *clock_seq_low *, 48-bit *node *) as the *fields * argument, or a single 128-bit
30
- integer as the *int * argument. When a string of hex digits is given, curly
31
- braces, hyphens, and a URN prefix are all optional. For example, these
26
+ bytes in big-endian order as the *bytes * argument, a string of 16 bytes in
27
+ little-endian order as the *bytes_le * argument, a tuple of six integers
28
+ (32-bit *time_low *, 16-bit *time_mid *, 16-bit *time_hi_version *,
29
+ 8-bit *clock_seq_hi_variant *, 8-bit *clock_seq_low *, 48-bit *node *) as the
30
+ *fields * argument, or a single 128-bit integer as the *int * argument.
31
+ When a string of hex digits is given, curly braces, hyphens,
32
+ and a URN prefix are all optional. For example, these
32
33
expressions all yield the same UUID::
33
34
34
35
UUID('{12345678-1234-5678-1234-567812345678}')
0 commit comments