--- a/mercurial/lsprof.py Thu Aug 31 23:56:15 2023 +0200
+++ b/mercurial/lsprof.py Fri Sep 01 00:09:55 2023 +0200
@@ -1,8 +1,6 @@
import _lsprof
import sys
-from .pycompat import getattr
-
Profiler = _lsprof.Profiler
# PyPy doesn't expose profiler_entry from the module.