Skip to content
Myr

Changed behavior of unpack_args to what is documented.

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

authored by Armin Ronacher · committed by Armin Ronacher · parent 2d91e2a · Browse files · 1 file+1 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+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:click/utils.py+1 added-1 removed
71 unmodified lines
72 if spos is not None:73 rv[spos] = tuple(args)74 args = []7576 return rv, list(args)76 return tuple(rv), list(args)777879def safecall(func):80 """Wraps a function so that it swallows exceptions."""
285 unmodified lines