We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fdcda96 commit 81ed48dCopy full SHA for 81ed48d
mypy/stubgen.py
@@ -1077,7 +1077,7 @@ def visit_import_from(self, o: ImportFrom) -> None:
1077
self.record_name(alias or name)
1078
1079
if self._all_:
1080
- # Include import forms that import names defined in __all__.
+ # Include "import from"s that import names defined in __all__.
1081
names = [name for name, alias in o.names
1082
if name in self._all_ and alias is None and name not in IGNORED_DUNDERS]
1083
exported_names.update(names)
0 commit comments