[issue16933] argparse: remove magic from examples

2013-07-03 Thread paul j3
paul j3 added the comment: There still is one choices='XYZ' example (16.4.5.1. Sub-commands) but the focus isn't on choices. -- nosy: +paul.j3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16933

[issue16933] argparse: remove magic from examples

2013-01-11 Thread Thomas Guettler
New submission from Thomas Guettler: The current argparse documentation is not easy to read people new to python. http://docs.python.org/dev/library/argparse.html#choices {{{ current: parser.add_argument('foo', choices='abc') }}} Please make this more explicit: {{{ better:

[issue16933] argparse: remove magic from examples

2013-01-11 Thread Ramchandra Apte
Ramchandra Apte added the comment: +1 -- nosy: +ramchandra.apte ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16933 ___ ___ Python-bugs-list

[issue16933] argparse: remove magic from examples

2013-01-11 Thread Chris Jerdonek
Chris Jerdonek added the comment: +1. By the way, I included a couple fixes similar to these in a patch posted to issue 16878. -- nosy: +bethard, chris.jerdonek ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16933

[issue16933] argparse: remove magic from examples

2013-01-11 Thread Chris Jerdonek
Changes by Chris Jerdonek chris.jerdo...@gmail.com: -- stage: - needs patch versions: +Python 2.7, Python 3.2, Python 3.3, Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16933 ___

[issue16933] argparse: remove magic from examples

2013-01-11 Thread Chris Jerdonek
Chris Jerdonek added the comment: Patch attached. -- assignee: - docs@python components: +Documentation keywords: +easy, patch nosy: +docs@python stage: needs patch - patch review Added file: http://bugs.python.org/file28698/issue-16933-1.patch ___

[issue16933] argparse: remove magic from examples

2013-01-11 Thread Terry J. Reedy
Terry J. Reedy added the comment: The new examples are much better and to me the patch looks ready to apply. -- nosy: +terry.reedy stage: patch review - commit review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16933

[issue16933] argparse: remove magic from examples

2013-01-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset b2bb3219d36d by Chris Jerdonek in branch '2.7': Issue #16933: Improve choices examples in argparse documentation. http://hg.python.org/cpython/rev/b2bb3219d36d New changeset eaa2a6074741 by Chris Jerdonek in branch '3.2': Issue #16933 (2.7

[issue16933] argparse: remove magic from examples

2013-01-11 Thread Chris Jerdonek
Chris Jerdonek added the comment: Thanks for reporting the suggestion, Thomas. And thanks for looking over the patch, Terry. -- resolution: - fixed stage: commit review - committed/rejected status: open - closed ___ Python tracker