lsprof: use native string when peeking in __dict__
# skip-blame just an r prefix on a string literal
Differential Revision: https://phab.mercurial-scm.org/D1895
--- 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: