homepage

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 xmorel
Recipients bethard, docs@python, eric.araujo, ezio.melotti, ncoghlan, rhettinger, tshepang, xmorel
Date 2012年03月25日.17:21:50
SpamBayes Score 4.287365e-11
Marked as misclassified No
Message-id <1332696112.29.0.261773416585.issue13850@psf.upfronthosting.co.za>
In-reply-to
Content
Had some time to play with this today, here's a draft matrix of actions and add_argument parameters which is pretty readable, but:
* It's incredibly not helpful for people who don't know argparse
* I tried adding effects descriptions in the cells instead of mere tick marks, the table becomes completely unreadable. I added a note directive below the table but it only lists a few really important/weird things, and it really won't scale beyond the current 3 items (which might already be too much)
* I completely removed the ``help`` action from the table as it's unlikely anyone will want to override it (and its row was completely blank)
* Hyperlinking and cross-linking (to the params, the actions, footnotes) would probably be a good idea, although it would definitely make the "raw text" (in-rst) 
I also tried my hand at formatting ``nargs``, but I don't see it as much clearer than http://docs.python.org/library/argparse.html#nargs without the examples, it's still just a mapping from a value to a behavior. I think the result would be just as good if the current ``nargs`` description was made into a definition list (in effect, it already is one emulated through an unordered list) and the examples were moved or removed.
History
Date User Action Args
2012年03月25日 17:21:52xmorelsetrecipients: + xmorel, rhettinger, ncoghlan, bethard, ezio.melotti, eric.araujo, docs@python, tshepang
2012年03月25日 17:21:52xmorelsetmessageid: <1332696112.29.0.261773416585.issue13850@psf.upfronthosting.co.za>
2012年03月25日 17:21:51xmorellinkissue13850 messages
2012年03月25日 17:21:51xmorelcreate

AltStyle によって変換されたページ (->オリジナル) /