Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork34k
DocumentValueError being raised byUUID constructor#144425
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
base:main
Are you sure you want to change the base?
Changes fromall commits
File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -66,6 +66,7 @@ which relays any information about the UUID's safety, using this enumeration: | ||
| UUID(int=0x12345678123456781234567812345678) | ||
| Exactly one of *hex*, *bytes*, *bytes_le*, *fields*, or *int* must be given. | ||
ContributorAuthor There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. We could also explicitly specify that this raises a Member There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. Usually:
The only exception I'm aware of is ContributorAuthor There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. Hum then not documenting Member There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. I am actually fine with documenting this. Sometimes we do document this, sometimes not. | ||
| If any of these arguments are malformed, a:exc:`ValueError` is raised. | ||
| The *version* argument is optional; if given, the resulting UUID will have its | ||
| variant and version number set according to:rfc:`9562`, overriding bits in the | ||
| given *hex*, *bytes*, *bytes_le*, *fields*, or *int*. | ||
Uh oh!
There was an error while loading.Please reload this page.