Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion mypy/stubgenc.py
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ def add_args(
default_value = get_default_value(i, arg)
if default_value is not _Missing.VALUE:
if arg in annotations:
argtype = annotations[arg]
argtype = get_annotation(arg)
else:
argtype = self.get_type_annotation(default_value)
if argtype == "None":
Expand Down
Loading