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
2476ee32
Commit
2476ee32
authored
Apr 16, 2011
by
Ezio Melotti
Browse files
Options
Browse Files
Download
Plain Diff
Merge with 3.2.
parents
cf645db8
2409d770
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
Doc/library/argparse.rst
Doc/library/argparse.rst
+3
-3
No files found.
Doc/library/argparse.rst
View file @
2476ee32
...
...
@@ -2,7 +2,7 @@
===============================================================================
.. module:: argparse
:synopsis: Command-line option and argument
parsing library.
:synopsis: Command-line option and argument
-
parsing library.
.. moduleauthor:: Steven Bethard <steven.bethard@gmail.com>
.. sectionauthor:: Steven Bethard <steven.bethard@gmail.com>
...
...
@@ -12,7 +12,7 @@
--------------
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`
will figure out how to parse those out of :data:`sys.argv`. The :mod:`argparse`
module also automatically generates help and usage messages and issues errors
...
...
@@ -610,7 +610,7 @@ The add_argument() method
* default_ - The value produced if the argument is absent from the
command line.
* type_ - The type to which the command-line arg should be converted.
* type_ - The type to which the command-line arg
ument
should be converted.
* choices_ - A container of the allowable values for the argument.
...
...
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