Skip to content

Commit 8073b41

Browse files
MrSmoerdlech
authored andcommitted
Changing docstring with demo-code to r-string.
The bytes inside the example weren't properly escaped using a raw string helps. Some IDE's threw an error, readthedocs showed this as empty.
1 parent 07301e7 commit 8073b41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bleak/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -726,7 +726,7 @@ async def write_gatt_char(
726726
data: Buffer,
727727
response: bool = None,
728728
) -> None:
729-
"""
729+
r"""
730730
Perform a write operation on the specified GATT characteristic.
731731
732732
There are two possible kinds of writes. *Write with response* (sometimes

0 commit comments

Comments
 (0)