Skip to content

Commit d3b1097

Browse files
authored
Fix UUID doc (#1574)
1 parent 1d9f382 commit d3b1097

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

bleak/uuids.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1245,7 +1245,7 @@ def normalize_uuid_16(uuid: int) -> str:
12451245
Normaizes a 16-bit integer UUID to the format used by Bleak.
12461246
12471247
Returns:
1248-
128-bit UUID as string with the format ``"0000xxxx-1000-8000-00805f9b34fb"``.
1248+
128-bit UUID as string with the format ``"0000xxxx-0000-1000-8000-00805f9b34fb"``.
12491249
12501250
Example::
12511251
@@ -1262,12 +1262,12 @@ def normalize_uuid_32(uuid: int) -> str:
12621262
Normaizes a 32-bit integer UUID to the format used by Bleak.
12631263
12641264
Returns:
1265-
128-bit UUID as string with the format ``"xxxxxxxx-1000-8000-00805f9b34fb"``.
1265+
128-bit UUID as string with the format ``"xxxxxxxx-0000-1000-8000-00805f9b34fb"``.
12661266
12671267
Example::
12681268
12691269
uuid = normalize_uuid_32(0x12345678)
1270-
# uuid == "12345678-1000-8000-00805f9b34fb"
1270+
# uuid == "12345678-0000-1000-8000-00805f9b34fb"
12711271
12721272
.. versionadded:: 0.21
12731273
"""

0 commit comments

Comments
 (0)