[issue22049] argparse: type=<callable> doesn't honor nargs > 1
July 23, 2014
6:20 p.m.
R. David Murray added the comment: Nope. The documentation says: N (an integer). N arguments from the command line will be gathered together into a list The type function is applied to each argument independently. It would be easy enough to make this explicit in one of the nargs multi-argument examples by using type as well. ---------- assignee: -> docs@python components: +Documentation nosy: +docs@python, r.david.murray stage: -> needs patch versions: +Python 3.4, Python 3.5 _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue22049> _______________________________________
3838
Age (days ago)
3838
Last active (days ago)
0 comments
1 participants
participants (1)
-
R. David Murray