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 7da58da commit cae5ba2Copy full SHA for cae5ba2
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