Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
df5bedbf
Commit
df5bedbf
authored
May 06, 2012
by
Ezio Melotti
Browse files
Options
Browse Files
Download
Plain Diff
#14034: merge argparse tutorial from 3.2.
parents
7e126205
6cc7a41c
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
776 additions
and
0 deletions
+776
-0
Doc/howto/argparse.rst
Doc/howto/argparse.rst
+764
-0
Doc/howto/index.rst
Doc/howto/index.rst
+1
-0
Doc/library/argparse.rst
Doc/library/argparse.rst
+6
-0
Misc/NEWS
Misc/NEWS
+5
-0
No files found.
Doc/howto/argparse.rst
0 → 100644
View file @
df5bedbf
This diff is collapsed.
Click to expand it.
Doc/howto/index.rst
View file @
df5bedbf
...
@@ -27,4 +27,5 @@ Currently, the HOWTOs are:
...
@@ -27,4 +27,5 @@ Currently, the HOWTOs are:
unicode.rst
unicode.rst
urllib2.rst
urllib2.rst
webservers.rst
webservers.rst
argparse.rst
Doc/library/argparse.rst
View file @
df5bedbf
...
@@ -12,6 +12,12 @@
...
@@ -12,6 +12,12 @@
--------------
--------------
.. sidebar:: Tutorial
This page contains the API reference information. For a more gentle
introduction to Python command-line parsing, have a look at the
:ref:`argparse tutorial <argparse-tutorial>`.
The :mod:`argparse` module makes it easy to write user-friendly command-line
The :mod:`argparse` module makes it easy to write user-friendly command-line
interfaces. The program defines what arguments it requires, and :mod:`argparse`
interfaces. The program defines what arguments it requires, and :mod:`argparse`
will figure out how to parse those out of :data:`sys.argv`. The :mod:`argparse`
will figure out how to parse those out of :data:`sys.argv`. The :mod:`argparse`
...
...
Misc/NEWS
View file @
df5bedbf
...
@@ -480,6 +480,11 @@ Build
...
@@ -480,6 +480,11 @@ Build
Based
on
patch
from
Herv
é
Coatanhay
.
Based
on
patch
from
Herv
é
Coatanhay
.
-
Issue
#
14321
:
Do
not
run
pgen
during
the
build
if
files
are
up
to
date
.
-
Issue
#
14321
:
Do
not
run
pgen
during
the
build
if
files
are
up
to
date
.
Documentation
-------------
-
Issue
#
14034
:
added
the
argparse
tutorial
.
-
Issue
#
14324
:
Fix
configure
tests
for
cross
builds
.
-
Issue
#
14324
:
Fix
configure
tests
for
cross
builds
.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment