Message164702
| Author |
nejucomo |
| Recipients |
docs@python, nejucomo |
| Date |
2012年07月05日.22:41:12 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1341528073.03.0.435446433545.issue15258@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
It was not obvious from the documentation on argparse how to emulate the optparse.OptionParser.allow_interspersed_args feature.
Please add something like the following to the section titled "Upgrading optparse code" (see: http://docs.python.org/library/argparse.html#upgrading-optparse-code )
"""
* If the optparse code sets allow_interspersed_args to False, then add an argparse positional argument with nargs=argparse.REMAINDER
""" |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2012年07月05日 22:41:13 | nejucomo | set | recipients:
+ nejucomo, docs@python |
| 2012年07月05日 22:41:13 | nejucomo | set | messageid: <1341528073.03.0.435446433545.issue15258@psf.upfronthosting.co.za> |
| 2012年07月05日 22:41:12 | nejucomo | link | issue15258 messages |
| 2012年07月05日 22:41:12 | nejucomo | create |
|