[Python-checkins] r55412 - python/trunk/Doc/lib/liboptparse.tex

Neal Norwitz nnorwitz at gmail.com
Thu May 17 22:44:43 CEST 2007


Note the first two lines of this file:

% THIS FILE IS AUTO-GENERATED!  DO NOT EDIT!
% (Your changes will be lost the next time it is generated.)

n
--
On 5/17/07, fred.drake <python-checkins at python.org> wrote:
> Author: fred.drake
> Date: Thu May 17 21:29:58 2007
> New Revision: 55412
>
> Modified:
>    python/trunk/Doc/lib/liboptparse.tex
> Log:
> fix argument name in documentation; match the implementation
>
> Modified: python/trunk/Doc/lib/liboptparse.tex
> ==============================================================================
> --- python/trunk/Doc/lib/liboptparse.tex        (original)
> +++ python/trunk/Doc/lib/liboptparse.tex        Thu May 17 21:29:58 2007
> @@ -1191,14 +1191,14 @@
>  The whole point of creating and populating an OptionParser is to call
>  its \method{parse{\_}args()} method:
>  \begin{verbatim}
> -(options, args) = parser.parse_args(args=None, options=None)
> +(options, args) = parser.parse_args(args=None, values=None)
>  \end{verbatim}
>
>  where the input parameters are
>  \begin{description}
>  \item[\code{args}]
>  the list of arguments to process (default: \code{sys.argv{[}1:]})
> -\item[\code{options}]
> +\item[\code{values}]
>  object to store option arguments in (default: a new instance of
>  optparse.Values)
>  \end{description}
> _______________________________________________
> Python-checkins mailing list
> Python-checkins at python.org
> http://mail.python.org/mailman/listinfo/python-checkins
>


More information about the Python-checkins mailing list