[docs] A bug in documentation in argparse
Xan
dxpublica at telefonica.net
Sat Jul 7 20:18:05 CEST 2012
Hi,
Just a comment, please put in argparse documentation that in
add_argument we could not combine with success type and nargs='?'. For
example:
parser.add_argument("-m", "--mostrar", nargs='+', type=int)
does not check if all elements in list (1 or more) are integers or not.
I don't know if it's a bug in argparse or if this behaviour is
intentionally this way. In last case, please upgrade the documentation.
Thanks in advance,
Xan.
More information about the docs
mailing list