This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author paul.j3
Recipients Danh, atfrase, bethard, paul.j3, wm
Date 2013-11-30.04:54:14
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1385787254.72.0.994392396984.issue11354@psf.upfronthosting.co.za>
In-reply-to
Content
With a minor tweak to `argparse._is_mnrep()`, `nargs='{3}'` would also work.  This means the same as `nargs=3`, so it isn't needed.  But it is consistent with the idea of accepting Regular Expression syntax where it makes sense.  `nargs='{2,3}?'` also works, though I think that's just the same as `nargs=2`.
History
Date User Action Args
2013-11-30 04:54:14paul.j3setrecipients: + paul.j3, bethard, Danh, wm, atfrase
2013-11-30 04:54:14paul.j3setmessageid: <1385787254.72.0.994392396984.issue11354@psf.upfronthosting.co.za>
2013-11-30 04:54:14paul.j3linkissue11354 messages
2013-11-30 04:54:14paul.j3create