amend to 70aef2c3c68d690232fe6c96ba2b6d84ca8af019: py3.12: silence warnings "invalid escape sequence"

test-3.13.0-alpha.2
sebres 2023-12-12 13:37:56 +01:00
parent 26597f625d
commit 340d45ca88
1 changed files with 1 additions and 1 deletions

View File

@ -284,7 +284,7 @@ def splitwords(s):
"""
if not s:
return []
return list(filter(bool, [v.strip() for v in re.split('[\s,]+', s)]))
return list(filter(bool, [v.strip() for v in re.split(r'[\s,]+', s)]))
def _merge_dicts(x, y):
"""Helper to merge dicts.