mercurial/statprof.py
changeset 43461 5c9daf7df2b4
parent 43106 d783f945a701
child 43503 313e3a279828
--- a/mercurial/statprof.py	Wed Nov 06 13:46:16 2019 +0100
+++ b/mercurial/statprof.py	Wed Nov 06 14:19:05 2019 -0500
@@ -352,7 +352,7 @@
             frame = inspect.currentframe()
             tid = [k for k, f in sys._current_frames().items() if f == frame][0]
             state.thread = threading.Thread(
-                target=samplerthread, args=(tid,), name=b"samplerthread"
+                target=samplerthread, args=(tid,), name="samplerthread"
             )
             state.thread.start()