Commit Graph

71 Commits

Author SHA1 Message Date
Martin Panter
8f1dd224e0 Issue #26462: Doc: avoid literal_block warnings, fix syntax highlighting.
Patch by Julien Palard.
2016-07-26 11:18:21 +02:00
Donald Stufft
5db0b3396e Fix Issue #21528 - Fix documentation typos 2014-05-20 12:58:38 -04:00
Serhiy Storchaka
12d547a80d Issue #23921: Standardized documentation whitespace formatting.
Original patch by James Edwards.
2016-05-10 13:45:32 +03:00
Martin Panter
11cc513e8b Issue #20598: Replace trivial split() calls with lists in argparse docs 2016-04-26 11:33:46 +00:00
Martin Panter
bf02d18844 Fix typos in code comment and documentation 2016-04-16 09:28:57 +00:00
Martin Panter
87d9de6354 Issue #25314: Remove confused statement about const argument 2016-04-09 03:49:48 +00:00
Martin Panter
4ed35fc4f3 Issue #25161: Add full stops in documentation; patch by Takase Arihiro 2015-10-10 10:52:35 +00:00
Berker Peksag
31200ff81b Issue #23356: Simplify convert_arg_line_to_args example.
Patch by py.user.
2015-04-26 12:12:45 +03:00
Berker Peksag
1b6e5381c3 Issue #22317: Document the action parameter in ArgumentParser.add_subparsers() docs.
Patch by Mike Short.
2015-01-20 06:55:51 +02:00
Berker Peksag
80154584a6 Fix a markup error in the argparse documentation.
Reported by Jason Sachs on docs@.
2015-01-06 18:29:04 +02:00
Berker Peksag
12f053215f Issue #17462: Add a paragraph about advantages of argparse over optparse.
Patch by Anastasia Filatova.
2014-09-26 15:39:05 +03:00
Benjamin Peterson
ceb0e1d751 the correct role is :meth: not :method: 2014-09-04 11:50:14 -04:00
Jason R. Coombs
c4a907dbc1 Issue #13540: Merge commits 2014-08-03 14:57:20 -04:00
Jason R. Coombs
2b492032f2 Issue #13540: Update references to Action class to match syntax used for other classes in this file. 2014-08-03 14:54:11 -04:00
Jason R. Coombs
69cd346387 Issue #13540: Removed redundant documentation about Action instance attributes. Updated example and documentation per recommendations by Steven Bethard in msg149524. 2014-07-20 10:52:46 -04:00
Eli Bendersky
7b2ac60934 Issue #19814: Clarify argparse's docs w.r.t prefix matching 2013-12-02 05:53:35 -08:00
Georg Brandl
9f57278251 Use the platform-independent way of calling a script from the shell: "python prog.py", not "prog.py"
Found by Micheal Wells on docs@.
2013-10-06 19:33:56 +02:00
Georg Brandl
1f94b26cba Closes #11807: document argparse add_subparsers method better.
Patch by Filip GruszczyƄski.
2013-10-06 18:51:39 +02:00
Georg Brandl
e3005461c3 Fix missing class name in markup. Found by Tanky Woo on docs@. 2013-10-06 13:09:59 +02:00
Georg Brandl
2b38582e76 Fix prefix_chars not being applied in help text example (reported by John Kooker on docs@) 2013-10-06 09:50:36 +02:00
Andrew Svetlov
aff9ceff3c Update argparse docs to follow order of ArgumentParser() arguments. 2013-04-07 14:45:37 +03:00
Ezio Melotti
dc157fcbd3 #16940: fix indentation in example. 2013-01-12 10:39:45 +02:00
Chris Jerdonek
92e2fc8360 Issue #16933: Improve choices examples in argparse documentation. 2013-01-11 19:25:28 -08:00
Sandro Tosi
2534f9aa39 grammatical fix; thanks to Alex Rudnick from docs@ 2013-01-11 10:48:34 +01:00
Ezio Melotti
82ee30384c #16796: fix typo. Patch by Michael Schurter. 2012-12-28 01:59:24 +02:00