A bug in documentation in argparse
7 Jul
2012
7 Jul
'12
11:48 p.m.
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.
4309
Age (days ago)
4309
Last active (days ago)
0 comments
1 participants
participants (1)
-
Xan