Skip to content
Merged
Changes from 1 commit
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: 2 additions & 0 deletions jsonargparse/_typehints.py
Original file line number Diff line number Diff line change
Expand Up @@ -396,6 +396,8 @@ def parse_argv_item(arg_string):
if typehint:
if parse_optional_num_return == 4:
return action, arg_base, sep, explicit_arg
elif parse_optional_num_return == 1:
return [(action, arg_base, sep, explicit_arg)]
return action, arg_base, explicit_arg
return None

Expand Down
Loading