Skip to content

Commit 9beaaf5

Browse files
committed
stubtest: understand override
1 parent a067d84 commit 9beaaf5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

mypy/stubtest.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1330,6 +1330,7 @@ def apply_decorator_to_funcitem(
13301330
if (
13311331
decorator.fullname in ("builtins.staticmethod", "abc.abstractmethod")
13321332
or decorator.fullname in mypy.types.OVERLOAD_NAMES
1333+
or decorator.fullname in mypy.types.OVERRIDE_DECORATOR_NAMES
13331334
or decorator.fullname in mypy.types.FINAL_DECORATOR_NAMES
13341335
):
13351336
return func

0 commit comments

Comments
 (0)