[docs] [issue25299] TypeError: __init__() takes at least 4 arguments (4 given)
R. David Murray
report at bugs.python.org
Fri Oct 2 17:15:15 CEST 2015
R. David Murray added the comment:
To clarify this for other readers: the issue here is that the arguments to add_argument are passed through the action routine, which in this case is store_const, and store_const is the one that requires 'const' be specified...which isn't made clear by either the docs or the error message.
Python tracker <report at bugs.python.org>
More information about the docs