Change by Shubham Sharma :
--
pull_requests: +4949
___
Python tracker
<https://bugs.python.org/issue32474>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Shubham Sharma :
--
keywords: +patch
pull_requests: +4944
stage: -> patch review
___
Python tracker
<https://bugs.python.org/issue32474>
___
___
Py
Shubham Sharma added the comment:
nargs can take various values like "*", "+", etc. but doesn't support integers
which are wrapped around in strings. Say, I want to take a user input for the
nargs value (just a hypothetical situation); now I'll have to check
Shubham Sharma added the comment:
A simple int(nargs) would be sufficient. I am getting ready with a PR in some
time.
--
___
Python tracker
<https://bugs.python.org/issue32
Shubham Sharma added the comment:
Values like "1", "2", "3", should be supported.
--
___
Python tracker
<https://bugs.python.org/issue32474>
___
Change by Shubham Sharma :
--
components: Library (Lib)
nosy: shubham1172
priority: normal
severity: normal
status: open
title: argparse nargs should support string wrapped integers too
type: enhancement
versions: Python 2.7, Python 3.4, Python 3.5, Python 3.6, Python 3.7, Python 3.8