Skip to content

Commit e4b7fa1

Browse files
committed
Avoid DeprecationWarning caused by invalid escape
Fixes: #479
1 parent e12549c commit e4b7fa1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/past/types/oldstr.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def __instancecheck__(cls, instance):
2020

2121

2222
def unescape(s):
23-
"""
23+
r"""
2424
Interprets strings with escape sequences
2525
2626
Example:

0 commit comments

Comments
 (0)