[Python-3000-checkins] r55413 - python/branches/p3yk/Doc/lib/liboptparse.tex

fred.drake python-3000-checkins at python.org
Thu May 17 21:30:11 CEST 2007


Author: fred.drake
Date: Thu May 17 21:30:10 2007
New Revision: 55413

Modified:
   python/branches/p3yk/Doc/lib/liboptparse.tex
Log:
fix argument name in documentation; match the implementation

Modified: python/branches/p3yk/Doc/lib/liboptparse.tex
==============================================================================
--- python/branches/p3yk/Doc/lib/liboptparse.tex	(original)
+++ python/branches/p3yk/Doc/lib/liboptparse.tex	Thu May 17 21:30:10 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}


More information about the Python-3000-checkins mailing list