From 2436fe89e70baf834a7f815ce750852832d1d168 Mon Sep 17 00:00:00 2001 From: Oleksandr Pavlyk Date: Fri, 23 Apr 2021 13:55:39 -0500 Subject: [PATCH] Fixed DeprecationWarning from using escape backslash in docstring Used r"""text with backslashes""" to avoid deprecation warning that looked like this when running pytest: ``` dpctl\__init__.py:64 C:\devel\dpctl\dpctl\__init__.py:64: DeprecationWarning: invalid escape sequence \* """ ``` Same could be seen on Linux. --- dpctl/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dpctl/__init__.py b/dpctl/__init__.py index bce579b1d5..47a2a58253 100644 --- a/dpctl/__init__.py +++ b/dpctl/__init__.py @@ -56,7 +56,7 @@ def get_include(): - """ + r""" Return the directory that contains the dpctl \*.h header files. Extension modules that need to be compiled against dpctl should use