mirror of
https://github.com/python/cpython.git
synced 2025-11-01 10:45:30 +00:00
Merged changes from the 1.5.2p2 release.
(Very rough.)
This commit is contained in:
parent
659ebfa79e
commit
38e5d27cae
59 changed files with 1248 additions and 516 deletions
|
|
@ -33,9 +33,10 @@ The return value consists of two elements: the first is a list of
|
|||
program arguments left after the option list was stripped (this is a
|
||||
trailing slice of the first argument).
|
||||
Each option-and-value pair returned has the option as its first
|
||||
element, prefixed with a hyphen (e.g., \code{'-x'}), and the option
|
||||
argument as its second element, or an empty string if the option has
|
||||
no argument.
|
||||
element, prefixed with a hyphen for short options (e.g., \code{'-x'})
|
||||
or two hyphens for long options (e.g., \code{'-}\code{-long-option'}),
|
||||
and the option argument as its second element, or an empty string if
|
||||
the option has no argument.
|
||||
The options occur in the list in the same order in which they were
|
||||
found, thus allowing multiple occurrences. Long and short options may
|
||||
be mixed.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue