This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author paul.j3
Recipients bethard, docs@python, paul.j3
Date 2013-04-03.04:47:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1364964465.88.0.56695967004.issue15427@psf.upfronthosting.co.za>
In-reply-to
Content
The 'args=' parameter is the same as the first positional parameter used in most of the examples.  That is normal Python behavior.

15.4.4.5. Beyond sys.argv
explains this alternative way of specifying argv.

Still 2 bullet points could be added to 15.4.4.

- args - A list of strings, default is sys.argv[1:] (link to 15.4.4.5.)
- namespace - A Namespace object, default is a new Namespace (link to 15.4.4.6.)

Maybe a 15.4.4.5. example using args=['1', '2', '3', '4'] would also be helpful.
History
Date User Action Args
2013-04-03 04:47:45paul.j3setrecipients: + paul.j3, bethard, docs@python
2013-04-03 04:47:45paul.j3setmessageid: <1364964465.88.0.56695967004.issue15427@psf.upfronthosting.co.za>
2013-04-03 04:47:45paul.j3linkissue15427 messages
2013-04-03 04:47:45paul.j3create