New submission from Steven Bethard <steven.beth...@gmail.com>:

>From a personal email:

----------------------------------------------------------------------
I'm not signed up for all the Python issue tracking stuff, but thought I'd let 
you know about a problem with the argparse doc page:

     http://docs.python.org/library/argparse.html

It says at the end:

     Replace options, args = parser.parse_args() with args = 
parser.parse_args() and add additional ArgumentParser.add_argument() calls for 
the positional arguments.

But I think it should be options = parser.parse_args(), not args.
----------------------------------------------------------------------

They're not options, so I don't like encouraging people to continue to call 
them options, but the docs should at least make clear that the namespace object 
that used to be called "options" is now called "args".

----------
assignee: d...@python
components: Documentation
messages: 121219
nosy: bethard, d...@python
priority: normal
severity: normal
stage: needs patch
status: open
title: s/args/options in arpgarse "Upgrading optparse code"
versions: Python 3.2

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue10423>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to