homepage

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 andersk
Recipients andersk, bethard, eric.smith, gdb, nelhage, r.david.murray
Date 2010年07月26日.23:17:59
SpamBayes Score 0.0023551867
Marked as misclassified No
Message-id <1280186281.31.0.00394781535191.issue9334@psf.upfronthosting.co.za>
In-reply-to
Content
> arguments = *(positional-argument / option) [-- *(positional-argument)]
> positional-argument = string
> option = foo-option / bar-option
> foo-option = "--foo" string
> bar-option = "--bar"
Er, obviously positional arguments before the first ‘--’ can’t begin with a dash (I don’t think there’s any confusion over how those should work).
 arguments = *(non-dash-positional-argument / option) ["--" *(positional-argument)]
 non-dash-positional-argument = <string not beginning with "-">
 positional-argument = string
The point was just that the grammar unambiguously allows the argument of --foo to be any string.
History
Date User Action Args
2010年07月26日 23:18:01andersksetrecipients: + andersk, bethard, eric.smith, r.david.murray, gdb, nelhage
2010年07月26日 23:18:01andersksetmessageid: <1280186281.31.0.00394781535191.issue9334@psf.upfronthosting.co.za>
2010年07月26日 23:17:59andersklinkissue9334 messages
2010年07月26日 23:17:59anderskcreate

AltStyle によって変換されたページ (->オリジナル) /