Skip to content
Myr

If no enough values we need, no need use None fill it

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Lingchao Xin · committed by Lingchao Xin · parent 8ca33a9 · Browse files · 1 file+0 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+0 added−1 removed

  • other:+0 added−1 removed

1 file+0 added−1 removed

modified:click.py-1 removed
1313 unmodified lines
1314 found = value1315 args = []1316 else:1317 values = args[:self.nargs]1318 values += [None] * (self.nargs - len(values))1318 args = args[self.nargs:]1319 value = tuple(values)1320 found = value1321 if not found:
308 unmodified lines