summaryrefslogtreecommitdiffstats
path: root/Doc/library/argparse.rst
Commit message (Collapse)AuthorAgeFilesLines
* Merge 3.2Florent Xicluna2011-10-281-1/+1
|\
| * Fixes #13270: obsolete reference to old-style/new-style classes.Florent Xicluna2011-10-281-1/+1
| |
* | Merge with 3.2.Ezio Melotti2011-10-191-1/+1
|\ \ | |/
* | Merge doc changes from 3.2.Éric Araujo2011-09-011-1/+1
|\ \ | |/ | | | | | | rstlint complains about packaging docs but I’m working on those in another patch.
| * Fix some misuses of Sphinx roles and one typoÉric Araujo2011-09-011-1/+1
| |
* | Merge 3.2Éric Araujo2011-08-191-31/+31
|\ \ | |/
| * Don’t quote characters twice.Éric Araujo2011-08-181-17/+17
| | | | | | | | | | | | | | | | | | | | ``code`` markup is enough to mark command-line fragments or to talk about a character. ``'c'`` is still used for actual Python string objects. I did a similar change in optparse.rst in r86521. I’ve also ported two minor changes from the 3.3 version of the file (removing an unnecessary module name in a class directive, adding a comma).
| * Don’t use “arg” for “argument”Éric Araujo2011-08-181-15/+15
| |
| * Add a few missing source links from 2.7 and harmonize lib docs headersÉric Araujo2011-08-181-2/+2
| |
* | Merge 3.2Éric Araujo2011-08-101-19/+19
|\ \ | |/
| * Use real word in English text (i.e. not code)Éric Araujo2011-08-101-19/+19
| |
* | Fix closes issue12663 - Correcting the ArgumentParser.error description. ↵Senthil Kumaran2011-08-021-1/+1
|\ \ | |/ | | | | Patch by Sandro Tosi.
| * Fix closes issue12663 - Correcting the ArgumentParser.error description. ↵Senthil Kumaran2011-08-021-1/+1
| | | | | | | | Patch by Sandro Tosi.
* | Merge from 3.2 (#9254, #8982, #9788)Éric Araujo2011-07-291-7/+10
|\ \ | |/
| * Add a link target for argparse.Namespace (#8982)Éric Araujo2011-07-291-7/+10
| |
* | Merge with 3.2.Ezio Melotti2011-04-211-96/+111
|\ \ | |/
| * Fix some more markup glitches in argparse doc.Ezio Melotti2011-04-211-101/+113
| |
* | #11904-#11905: Merge typo fixes with 3.2.Ezio Melotti2011-04-211-5/+5
|\ \ | |/
| * #11905: fix missing full stop in argparse doc. Noticed by Vladimir Rutsky.Ezio Melotti2011-04-211-1/+1
| |
| * #11904: fix indentation in argparse doc. Noticed by Vladimir Rutsky.Ezio Melotti2011-04-211-4/+4
| |
* | #11902: Merge with 3.2.Ezio Melotti2011-04-211-1/+1
|\ \ | |/
| * #11902: Fix typo in argparse doc. Noticed by Vladimir Rutsky.Ezio Melotti2011-04-211-1/+1
| |
* | Merge with 3.2.Ezio Melotti2011-04-211-11/+11
|\ \ | |/
| * Add the :mod: role where it was missing.Ezio Melotti2011-04-211-11/+11
| |
* | #11885: Merge with 3.2.Ezio Melotti2011-04-211-2/+2
|\ \ | |/
| * #11885: capitalize Python.Ezio Melotti2011-04-211-2/+2
| |
* | Merge with 3.2.Ezio Melotti2011-04-161-3/+3
|\ \ | |/
| * Fix a few more hyphens in argparse.rstEzio Melotti2011-04-161-3/+3
| |
| * Consistency fix: "command line" is the noun, "command-line" the adjective.Georg Brandl2011-04-161-18/+18
| |
| * Backport 8a9f8f34d9d5.Georg Brandl2011-04-161-1/+1
| |
* | Fix duplicate "is".Georg Brandl2011-04-161-1/+1
| |
* | Consistency fix: "command line" is the noun, "command-line" the adjective.Georg Brandl2011-04-161-18/+18
| |
* | Issue #9343: Document that argparse parent parsers must be configured before ↵Steven Bethard2011-03-261-0/+5
|\ \ | |/ | | | | their children. (Merge from 3.2.)
| * Issue #9343: Document that argparse parent parsers must be configured before ↵Steven Bethard2011-03-261-0/+5
| | | | | | | | their children.
* | Issue #8982: Improve the documentation for the argparse Namespace object. ↵Steven Bethard2011-03-261-5/+16
|\ \ | |/ | | | | (Merge from 3.2.)
| * Issue #8982: Improve the documentation for the argparse Namespace object.Steven Bethard2011-03-261-5/+16
| |
| * Merged revisions 88717 via svnmerge fromFred Drake2011-03-031-2/+2
| | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r88717 | fred.drake | 2011-03-03 00:27:17 -0500 (Thu, 03 Mar 2011) | 2 lines issue 11372: use range instead of xrange ........
* | Issue #11174: Add argparse.MetavarTypeHelpFormatter, which uses type namesSteven Bethard2011-03-261-10/+26
| | | | | | | | for the names of optional and positional arguments in help messages.
* | issue 11372: use range instead of xrangeFred Drake2011-03-031-2/+2
|/
* More source links.Raymond Hettinger2011-01-271-1/+5
|
* #10871: "file" does not exist anymore in Python 3. Also adapt the reprs of ↵Georg Brandl2011-01-091-14/+14
| | | | opened file objects.
* Wrap some long examples and signatures.Georg Brandl2011-01-091-7/+14
|
* #10728: the default for printing help is sys.stdout, not stderr.R. David Murray2010-12-181-2/+2
|
* Add subparser aliases for argparse. Resolves issue 9324. Approved by Georg ↵Steven Bethard2010-12-181-1/+11
| | | | for beta2 on the tracker.
* Add example for the entry for argparseRaymond Hettinger2010-12-071-0/+1
|
* Remove unnecessary `object` base class in docs (#10366).Éric Araujo2010-11-221-1/+1
| | | | Also add a note about inheritance from `object` being default.
* Some markup and style fixes in argparse docs.Georg Brandl2010-10-171-21/+29
|
* #9112: document error() and exit() methods of ArgumentParser.Georg Brandl2010-10-171-1/+14
|
* Fix errors found by "make suspicious".Georg Brandl2010-10-061-7/+7
|
* #9444: use first of prefix_chars for help opt instead of raising errorR. David Murray2010-08-031-3/+18
| | | | | | | | | | | An argparse option parser created with a prefix_chars that did not include a '-' would happily add -h and --help options, and then throw an error when it tried to format the help because the - was an invalid prefix character. This patch makes it use the first character of prefix_chars as the character for the help options if and only if '-' is not one of the valid prefix_chars. Fix by Theodore Turocy, unit tests by Catherine Devlin.