Skip to content

Commit

Permalink
Update uuids.py
Browse files Browse the repository at this point in the history
  • Loading branch information
patman15 authored and dlech committed May 17, 2024
1 parent e2a8bd7 commit 1d9f382
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions bleak/uuids.py
Original file line number Diff line number Diff line change
Expand Up @@ -1214,15 +1214,15 @@ def normalize_uuid_str(uuid: str) -> str:
# 16-bit
uuid1 = normalize_uuid_str("1234")
# uuid1 == "00001234-1000-8000-00805f9b34fb"
# uuid1 == "00001234-0000-1000-8000-00805f9b34fb"
# 32-bit
uuid2 = normalize_uuid_str("12345678")
# uuid2 == "12345678-1000-8000-00805f9b34fb"
# uuid2 == "12345678-0000-1000-8000-00805f9b34fb"
# 128-bit
uuid3 = normalize_uuid_str("12345678-1234-1234-1234567890ABC")
# uuid3 == "12345678-1234-1234-1234567890abc"
uuid3 = normalize_uuid_str("12345678-0000-1234-1234-1234567890ABC")
# uuid3 == "12345678-0000-1234-1234-1234567890abc"
.. versionadded:: 0.20
.. versionchanged:: 0.21
Expand Down Expand Up @@ -1250,7 +1250,7 @@ def normalize_uuid_16(uuid: int) -> str:
Example::
uuid = normalize_uuid_16(0x1234)
# uuid == "00001234-1000-8000-00805f9b34fb"
# uuid == "00001234-0000-1000-8000-00805f9b34fb"
.. versionadded:: 0.21
"""
Expand Down

0 comments on commit 1d9f382

Please sign in to comment.