Commit 6d265699 authored by Steven Bethard's avatar Steven Bethard

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.
........
parent b1938260
......@@ -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
......
This diff is collapsed.
: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
......
: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>
......
......@@ -72,7 +72,7 @@ three`` at the command line::
The :mod:`getopt` module processes *sys.argv* using the conventions of the Unix
:func:`getopt` function. More powerful and flexible command line processing is
provided by the :mod:`optparse` module.
provided by the :mod:`argparse` module.
.. _tut-stderr:
......
This diff is collapsed.
This diff is collapsed.
......@@ -722,6 +722,8 @@ Library
- Issue #6729: Added ctypes.c_ssize_t to represent ssize_t.
- Issue #6247: The argparse module has been added to the standard library.
Extension Modules
-----------------
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment