# HG changeset patch # User Gregory Szorc # Date 1554426108 25200 # Node ID fecbd93a5f0847092f1b69d74f95a14b6c8d83d2 # Parent 0e9066db5e4439945e4796f19b99e585e8b4deaa setup: use raw string for regular expression Otherwise Python 3.8 complains about the backslash. Differential Revision: https://phab.mercurial-scm.org/D6202 diff -r 0e9066db5e44 -r fecbd93a5f08 setup.py --- a/setup.py Thu Apr 04 18:01:02 2019 -0700 +++ b/setup.py Thu Apr 04 18:01:48 2019 -0700 @@ -796,7 +796,7 @@ # This logic is duplicated in doc/Makefile. sources = {f for f in os.listdir('mercurial/help') - if re.search('[0-9]\.txt$', f)} + if re.search(r'[0-9]\.txt$', f)} # common.txt is a one-off. gentxt('common')