Skip to content

Commit

Permalink
Added r""" to the docstring to avoid warnings in python3
Browse files Browse the repository at this point in the history
Added r""" to the docstring to avoid warnings in python3

Warning example:
DeprecationWarning: invalid escape sequence \d
  • Loading branch information
goldvitaly authored Apr 6, 2020
1 parent ef51288 commit 5f94572
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/past/types/oldstr.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def __instancecheck__(cls, instance):


def unescape(s):
"""
r"""
Interprets strings with escape sequences
Example:
Expand Down

0 comments on commit 5f94572

Please sign in to comment.