diff options
author | Fred Drake <fdrake@acm.org> | 2007-05-17 19:29:43 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2007-05-17 19:29:43 (GMT) |
commit | 2cb077a8c1b6436cb2c86178d6eb33fd4e6cd59e (patch) | |
tree | e80959ee77cec57c1de10299e64025785ffb08b9 | |
parent | dc78cc6f7cea2040114a350aa9db835cc433ae05 (diff) | |
download | cpython-2cb077a8c1b6436cb2c86178d6eb33fd4e6cd59e.zip cpython-2cb077a8c1b6436cb2c86178d6eb33fd4e6cd59e.tar.gz cpython-2cb077a8c1b6436cb2c86178d6eb33fd4e6cd59e.tar.bz2 |
fix argument name in documentation; match the implementation
-rw-r--r-- | Doc/lib/liboptparse.tex | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/lib/liboptparse.tex b/Doc/lib/liboptparse.tex index df96dd4..a33760b 100644 --- a/Doc/lib/liboptparse.tex +++ b/Doc/lib/liboptparse.tex @@ -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} |