We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
ValueError
UUID
1 parent 45d00a0 commit 819dc96Copy full SHA for 819dc96
1 file changed
Doc/library/uuid.rst
@@ -66,6 +66,7 @@ which relays any information about the UUID's safety, using this enumeration:
66
UUID(int=0x12345678123456781234567812345678)
67
68
Exactly one of *hex*, *bytes*, *bytes_le*, *fields*, or *int* must be given.
69
+ If any of these arguments are malformed, a :exc:`ValueError` is raised.
70
The *version* argument is optional; if given, the resulting UUID will have its
71
variant and version number set according to :rfc:`9562`, overriding bits in the
72
given *hex*, *bytes*, *bytes_le*, *fields*, or *int*.
0 commit comments