We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 85f6aac commit d84768cCopy full SHA for d84768c
mypy/stubgenc.py
@@ -580,7 +580,7 @@ def generate_function_stub(
580
decorators.append("@{}".format(self.add_name("typing.overload")))
581
582
if ctx.is_abstract:
583
- decorators.append("@{}".format(self.add_name("collections.abc.abstractmethod")))
+ decorators.append("@{}".format(self.add_name("abc.abstractmethod")))
584
585
if class_info is not None:
586
if self.is_staticmethod(class_info, name, obj):
0 commit comments