mercurial/util.py
branchstable
changeset 50688 293e1763982e
parent 50687 82cf392c99f6
child 50689 a45460e235a2
--- a/mercurial/util.py	Sat Jun 17 04:02:25 2023 +0200
+++ b/mercurial/util.py	Sat Jun 17 04:05:18 2023 +0200
@@ -2211,7 +2211,8 @@
 
 
 class _re:
-    def _checkre2(self):
+    @staticmethod
+    def _checkre2():
         global _re2
         global _re2_input
         if _re2 is not None: