]> granicus.if.org Git - python/commitdiff
fix argument name in documentation; match the implementation
authorFred Drake <fdrake@acm.org>
Thu, 17 May 2007 19:29:58 +0000 (19:29 +0000)
committerFred Drake <fdrake@acm.org>
Thu, 17 May 2007 19:29:58 +0000 (19:29 +0000)
Doc/lib/liboptparse.tex

index dd618c83dac4bd83c74f0e33f01aa2935945038f..eb4919b5668754db27023894d281feb56cc96703 100644 (file)
@@ -1191,14 +1191,14 @@ OptionValueError if an invalid string is given.
 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}