Skip to content

Commit b3d1654

Browse files
committed
Add back code comment
1 parent e734457 commit b3d1654

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pylint/extensions/private_import.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ def _populate_type_annotations_annotation(
199199
case nodes.Name() if node.name not in all_used_type_annotations:
200200
all_used_type_annotations[node.name] = True
201201
return node.name # type: ignore[no-any-return]
202-
case nodes.Subscript():
202+
case nodes.Subscript(): # e.g. Optional[List[str]]
203203
# slice is the next nested type
204204
self._populate_type_annotations_annotation(
205205
node.slice, all_used_type_annotations

0 commit comments

Comments
 (0)