Skip to content
Myr

Converted a list into a tuple

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 20e8ffa · 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/parser.py+1 added-1 removed
18 unmodified lines
19from .utils import unpack_args202122class Option(object):23 ATTRS = ['action', 'type', 'dest', 'nargs', 'const']23 ATTRS = ('action', 'type', 'dest', 'nargs', 'const')24 TYPED_ACTIONS = ('store', 'append')25 TAKES_VALUE_ACTIONS = ('store', 'append')2627 def __init__(self, *opts, **attrs):
220 unmodified lines