mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Merged revisions 78576 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r78576 | steven.bethard | 2010-03-02 00:38:09 -0800 (Tue, 02 Mar 2010) | 3 lines Initial commit of the argparse library, based on argparse 1.1. Docs still need some updating to make getopt and optparse match the wording promised in the PEP. There are also probably a number of :class:ArgumentParser etc. links that could be added to the argparse documentation. ........
This commit is contained in:
parent
b193826078
commit
6d265699e6
8 changed files with 8326 additions and 6 deletions
|
@ -15,6 +15,7 @@ but they are available on most other systems as well. Here's an overview:
|
|||
os.rst
|
||||
io.rst
|
||||
time.rst
|
||||
argparse.rst
|
||||
optparse.rst
|
||||
getopt.rst
|
||||
logging.rst
|
||||
|
|
1758
Doc/library/argparse.rst
Normal file
1758
Doc/library/argparse.rst
Normal file
File diff suppressed because it is too large
Load diff
|
@ -1,5 +1,5 @@
|
|||
:mod:`getopt` --- Parser for command line options
|
||||
=================================================
|
||||
:mod:`getopt` --- C-style parser for command line options
|
||||
=========================================================
|
||||
|
||||
.. module:: getopt
|
||||
:synopsis: Portable parser for command line options; support both short and
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
:mod:`optparse` --- More powerful command line option parser
|
||||
============================================================
|
||||
:mod:`optparse` --- Parser for command line options
|
||||
===================================================
|
||||
|
||||
.. module:: optparse
|
||||
:synopsis: More convenient, flexible, and powerful command-line parsing library.
|
||||
:synopsis: Command-line option parsing library.
|
||||
.. moduleauthor:: Greg Ward <gward@python.net>
|
||||
.. sectionauthor:: Greg Ward <gward@python.net>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue