Skip to content

Commit 81ed48d

Browse files
authored
Restore comment in stubgen
As pointed out by @pranavrajpal in #11498 (comment)
1 parent fdcda96 commit 81ed48d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mypy/stubgen.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1077,7 +1077,7 @@ def visit_import_from(self, o: ImportFrom) -> None:
10771077
self.record_name(alias or name)
10781078

10791079
if self._all_:
1080-
# Include import forms that import names defined in __all__.
1080+
# Include "import from"s that import names defined in __all__.
10811081
names = [name for name, alias in o.names
10821082
if name in self._all_ and alias is None and name not in IGNORED_DUNDERS]
10831083
exported_names.update(names)

0 commit comments

Comments
 (0)