diff options
| author | Fred Drake <fdrake@acm.org> | 2007-05-17 19:29:58 +0000 |
|---|---|---|
| committer | Fred Drake <fdrake@acm.org> | 2007-05-17 19:29:58 +0000 |
| commit | 88d96ade596bbf5bd4c0f737569b5315568ccd7b (patch) | |
| tree | bca91d73fff94fdfe61bc12de7e72f07366b83fd /Doc/lib | |
| parent | f6b0e4dca830601be49bf619f6d562fdb7db9e26 (diff) | |
| download | cpython-git-88d96ade596bbf5bd4c0f737569b5315568ccd7b.tar.gz | |
fix argument name in documentation; match the implementation
Diffstat (limited to 'Doc/lib')
| -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 dd618c83da..eb4919b566 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} |
