typing: drop an unnecessary warning disabling comment in match.py
authorMatt Harbison <matt_harbison@yahoo.com>
Wed, 14 Dec 2022 22:24:54 -0500
changeset 49805 a06a503e3cf8
parent 49804 a87338fe8cfa
child 49806 9eb69fa5a783
typing: drop an unnecessary warning disabling comment in match.py This stopped being necessary in d2e1dcd4490d, when the exception stopped being subscripted.
mercurial/match.py
--- a/mercurial/match.py	Wed Dec 14 22:22:12 2022 -0500
+++ b/mercurial/match.py	Wed Dec 14 22:24:54 2022 -0500
@@ -368,7 +368,7 @@
                     % (
                         pat,
                         inst.message,
-                    )  # pytype: disable=unsupported-operands
+                    )
                 )
             except IOError as inst:
                 if warn: