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 bethard
Recipients bethard, catherine
Date 2010-08-04.08:56:32
SpamBayes Score 0.0030449831
Marked as misclassified No
Message-id <1280912194.01.0.73801946621.issue9348@psf.upfronthosting.co.za>
In-reply-to
Content
You can specify either 1 or N. So for n=3, you can specify metavar="X" or metavar=("X", "Y", "Z") but not metavar=("X", "Y"). The special nargs value "?" always takes only one, while "*" and "+" always take two. (This makes sense if you think about how they're formatted, e.g. "X [X ...]".)
History
Date User Action Args
2010-08-04 08:56:34bethardsetrecipients: + bethard, catherine
2010-08-04 08:56:34bethardsetmessageid: <1280912194.01.0.73801946621.issue9348@psf.upfronthosting.co.za>
2010-08-04 08:56:32bethardlinkissue9348 messages
2010-08-04 08:56:32bethardcreate