@@ -45,12 +45,13 @@ which relays any information about the UUID's safety, using this enumeration:
45
45
.. class :: UUID(hex=None, bytes=None, bytes_le=None, fields=None, int=None, version=None, *, is_safe=SafeUUID.unknown)
46
46
47
47
Create a UUID from either a string of 32 hexadecimal digits, a string of 16
48
- bytes as the *bytes * argument, a string of 16 bytes in little-endian order as
49
- the *bytes_le * argument, a tuple of six integers (32-bit *time_low *, 16-bit
50
- *time_mid *, 16-bit *time_hi_version *, 8-bit *clock_seq_hi_variant *, 8-bit
51
- *clock_seq_low *, 48-bit *node *) as the *fields * argument, or a single 128-bit
52
- integer as the *int * argument. When a string of hex digits is given, curly
53
- braces, hyphens, and a URN prefix are all optional. For example, these
48
+ bytes in big-endian order as the *bytes * argument, a string of 16 bytes in
49
+ little-endian order as the *bytes_le * argument, a tuple of six integers
50
+ (32-bit *time_low *, 16-bit *time_mid *, 16-bit *time_hi_version *,
51
+ 8-bit *clock_seq_hi_variant *, 8-bit *clock_seq_low *, 48-bit *node *) as the
52
+ *fields * argument, or a single 128-bit integer as the *int * argument.
53
+ When a string of hex digits is given, curly braces, hyphens,
54
+ and a URN prefix are all optional. For example, these
54
55
expressions all yield the same UUID::
55
56
56
57
UUID('{12345678-1234-5678-1234-567812345678}')
0 commit comments