From 7bc484efb5e53144b9bc11e0678818600e9f3e92 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?MrSm=C3=B6r?= <66489839+MrSmoer@users.noreply.github.com> Date: Fri, 11 Oct 2024 00:19:26 +0200 Subject: [PATCH] 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. --- bleak/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bleak/__init__.py b/bleak/__init__.py index 68e17812..5e23d513 100644 --- a/bleak/__init__.py +++ b/bleak/__init__.py @@ -726,7 +726,7 @@ async def write_gatt_char( data: Buffer, response: bool = None, ) -> None: - """ + r""" Perform a write operation on the specified GATT characteristic. There are two possible kinds of writes. *Write with response* (sometimes