Skip to content

Commit

Permalink
Merge pull request alex-rudakov#123 from tirkarthi/fix-warnings
Browse files Browse the repository at this point in the history
Fix deprecation warnings due to invalid escape sequences.
  • Loading branch information
dpryan79 authored Apr 21, 2020
2 parents 178672c + f37b32d commit b3b6497
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sphinxarg/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ def parser_navigate(parser_result, path, current_path=None):
if isinstance(path, str):
if path == '':
return parser_result
path = re.split('\s+', path)
path = re.split(r'\s+', path)
current_path = current_path or []
if len(path) == 0:
return parser_result
Expand Down

0 comments on commit b3b6497

Please sign in to comment.