diff -r bf367a93f000 -r d4e5b2653693 mercurial/lsprof.py --- a/mercurial/lsprof.py Wed Jan 17 21:44:15 2018 -0500 +++ b/mercurial/lsprof.py Wed Jan 17 21:45:15 2018 -0500 @@ -27,7 +27,7 @@ def __init__(self, data): self.data = data - def sort(self, crit="inlinetime"): + def sort(self, crit=r"inlinetime"): """XXX docstring""" # profiler_entries isn't defined when running under PyPy. if profiler_entry: