From 5f945723dc6218584dac0608117176759853738d Mon Sep 17 00:00:00 2001 From: Vitaly Goldshteyn Date: Mon, 6 Apr 2020 04:33:51 +0200 Subject: [PATCH] Added r""" to the docstring to avoid warnings in python3 Added r""" to the docstring to avoid warnings in python3 Warning example: DeprecationWarning: invalid escape sequence \d --- src/past/types/oldstr.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/past/types/oldstr.py b/src/past/types/oldstr.py index a477d884..5a0e3789 100644 --- a/src/past/types/oldstr.py +++ b/src/past/types/oldstr.py @@ -20,7 +20,7 @@ def __instancecheck__(cls, instance): def unescape(s): - """ + r""" Interprets strings with escape sequences Example: