Andrew Svetlov
5b6e1cad37
Update argparse docs to follow order of ArgumentParser() arguments.
2013-04-07 14:43:17 +03:00
Ezio Melotti
9895ab463b
#16940 : merge with 3.2.
2013-01-12 10:40:24 +02:00
Ezio Melotti
7128e073e2
#16940 : fix indentation in example.
2013-01-12 10:39:45 +02:00
Chris Jerdonek
71e39fb484
Issue #16933 (merge from 3.2): Improve choices examples in argparse docs.
2013-01-11 19:28:05 -08:00
Chris Jerdonek
174ef67b56
Issue #16933 (2.7 forward-port): Improve choices examples in argparse docs.
2013-01-11 19:26:44 -08:00
Sandro Tosi
a525fc161a
merge with 3.2
2013-01-11 10:49:28 +01:00
Sandro Tosi
32587fbb89
grammatical fix; thanks to Alex Rudnick from docs@
2013-01-11 10:49:00 +01:00
Ezio Melotti
63ee149ca6
#16796 : merge with 3.2.
2012-12-28 02:00:22 +02:00
Ezio Melotti
52336f0b50
#16796 : fix typo. Patch by Michael Schurter.
2012-12-28 01:59:24 +02:00
Andrew Svetlov
eff1738e01
Revert duplicate changes in argparse docs.
2012-11-28 19:24:31 +02:00
Andrew Svetlov
74120996f5
Revert duplicate changes in argparse docs.
2012-11-28 19:23:52 +02:00
Andrew Svetlov
51292fff3f
Merge issue #11076 : document the way to convert argparse.Namespace to a dict.
...
Initial patch by Virgil Dupras.
2012-11-28 19:18:09 +02:00
Andrew Svetlov
e15cb61dde
Issue #11076 : document the way to convert argparse.Namespace to a dict.
...
Initial patch by Virgil Dupras.
2012-11-28 19:17:26 +02:00
Barry Warsaw
d09a05ebc5
Merge 3.2 except the massive Misc/NEWS conflict, so hand apply the NEWS entry.
2012-09-25 10:47:55 -04:00
Barry Warsaw
1dedd0a4a4
- Issue #15935 : Clarification of argparse docs, re: add_argument() type and
...
default arguments. Patch contributed by Chris Jerdonek.
2012-09-25 10:37:58 -04:00
Ezio Melotti
8429b6784b
#15831 : merge with 3.2
2012-09-14 06:35:09 +03:00
Ezio Melotti
e0add76468
#15831 : document multiple signatures on different lines. Patch by Chris Jerdonek.
2012-09-14 06:32:35 +03:00
Sandro Tosi
effb43bc38
merge with 3.2
2012-08-12 10:49:40 +02:00
Sandro Tosi
ee903c5125
add missing parenthesis to 'action' argparse doc; thanks to kishkin from docs@
2012-08-12 10:49:26 +02:00
Senthil Kumaran
93e3d3ac09
merge from 3.2 - Issue13685
2012-06-26 14:18:19 +08:00
Senthil Kumaran
f21804ad61
Issue #13685 - Update argparse help message for % sign usage.
2012-06-26 14:17:19 +08:00
Ezio Melotti
df5bedbf88
#14034 : merge argparse tutorial from 3.2.
2012-05-06 16:34:43 +03:00
Ezio Melotti
6cc7a41c2f
#14034 : added the argparse tutorial. Patch by Tshepang Lekhonkhobe.
2012-05-06 16:15:35 +03:00
R David Murray
3288e948f3
Merge #10423 : clarify options vs args in argparse discussion of optparse
...
Patch by Sandro Tosi.
2012-03-30 18:08:29 -04:00
R David Murray
5e0c57142d
#10423 : clarify options vs args in argparse discussion of optparse
...
Patch by Sandro Tosi.
2012-03-30 18:07:42 -04:00
Sandro Tosi
70ea34de85
Issue #14410 : merge with 3.2
2012-03-26 19:36:44 +02:00
Sandro Tosi
99e7d0706e
Issue #14410 : fix typo in argparse doc; patch by Tshepang Lekhonkhobe
2012-03-26 19:36:23 +02:00
Éric Araujo
a7e594b9a5
Merge 3.2
2012-02-20 01:53:09 +01:00
Éric Araujo
c3ef037ee1
Add missing “::” markup.
...
Also wrap two looong lines.
2012-02-20 01:44:55 +01:00
Sandro Tosi
32ac92cd4a
Issue #13605 : merge with 3.2
2012-02-19 19:54:23 +01:00
Sandro Tosi
0467686e07
Issue #13605 : use print() in argparse nargs example
2012-02-19 19:54:00 +01:00
Sandro Tosi
6a7b855a97
Issue #13605 : merge with 3.2
2012-01-19 22:23:17 +01:00
Sandro Tosi
da8e11ac71
Issue #13605 : more meaningful example + fixes
2012-01-19 22:23:00 +01:00
Sandro Tosi
83d32c9135
Issue #13605 : merge with 3.2
2012-01-19 22:00:21 +01:00
Sandro Tosi
16bd0b4463
Issue #13605 : add documentation for nargs=argparse.REMAINDER
2012-01-19 21:59:55 +01:00
Sandro Tosi
98492a50ea
Issue #10772 : add count and help argparse action; patch by Marc Sibson
2012-01-04 23:25:04 +01:00
Sandro Tosi
ea320abcae
Issue #9349 : add argparse.SUPPRESS to help doc
2012-01-03 18:37:03 +01:00
Sandro Tosi
412d0f2f98
merge with 3.2
2012-01-04 23:25:20 +01:00
Sandro Tosi
5c91242f88
merge with 3.2
2012-01-03 18:37:46 +01:00
Eli Bendersky
28a08205c5
Issue #13191 : typo in argparse docs
2011-11-11 10:58:36 +02:00
Eli Bendersky
a7795dbe9a
Issue #13191 : typo in argparse docs
2011-11-11 10:57:01 +02:00
Florent Xicluna
74e6495a20
Fixes #13270 : obsolete reference to old-style/new-style classes.
2011-10-28 11:21:19 +02:00
Florent Xicluna
acfc97a05a
Merge 3.2
2011-10-28 11:23:25 +02:00
Ezio Melotti
f10644983e
Merge with 3.2.
2011-10-19 11:06:26 +03:00
Éric Araujo
b8edbdf4b9
Merge doc changes from 3.2.
...
rstlint complains about packaging docs but I’m working on those in
another patch.
2011-09-01 05:57:12 +02:00
Éric Araujo
37b5f9eebc
Fix some misuses of Sphinx roles and one typo
2011-09-01 03:19:30 +02:00
Éric Araujo
24d6cc6f4f
Merge 3.2
2011-08-19 03:19:36 +02:00
Éric Araujo
543edbdab8
Don’t quote characters twice.
...
``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).
2011-08-19 01:45:12 +02:00
Éric Araujo
fde9242631
Don’t use “arg” for “argument”
2011-08-19 01:30:26 +02:00
Éric Araujo
19f9b71ffe
Add a few missing source links from 2.7 and harmonize lib docs headers
2011-08-19 00:49:18 +02:00