Skip to content

Commit 5f94572

Browse files
authored
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
1 parent ef51288 commit 5f94572

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/past/types/oldstr.py

+1-1
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)