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 <[email protected]>
<http://bugs.python.org/issue22049>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com