diff options
author | Guido van Rossum <guido@python.org> | 1998-11-17 04:16:37 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1998-11-17 04:16:37 (GMT) |
commit | 6d06094c77f08b95f649c7da46a85fffc419f497 (patch) | |
tree | b95b67796e6ae743ea6fc38da5edaf5dfe0b981d /Python/ceval.c | |
parent | e9bc62d993e050fbc0a2b6a5a8b1cee228705196 (diff) | |
download | cpython-6d06094c77f08b95f649c7da46a85fffc419f497.zip cpython-6d06094c77f08b95f649c7da46a85fffc419f497.tar.gz cpython-6d06094c77f08b95f649c7da46a85fffc419f497.tar.bz2 |
Accept a non-list sequence for the long options (request by Jack Jansen).
Because it might be a common mistake to pass a single string, this
situation is treated separately.
Since we were making a copy of the longopts list anyway, we now use
the list() function -- this made it necessary to change all uses of
the local variable (and argument) 'list' to something more meaningful,
i.e., 'opts'.
Also added docstrings (copied from the library manual) and removed the
(now redundant) module comments.
Diffstat (limited to 'Python/ceval.c')
0 files changed, 0 insertions, 0 deletions