diff options
author | Jeremy Hylton <jeremy@alum.mit.edu> | 2001-08-29 18:12:30 (GMT) |
---|---|---|
committer | Jeremy Hylton <jeremy@alum.mit.edu> | 2001-08-29 18:12:30 (GMT) |
commit | 7abf520d6c8c820f42332d51c58a192db658ac29 (patch) | |
tree | 933f1921e6a0c3c70ee7726adc8cccb7898c8d2c /Python | |
parent | d4be10dc2c8454779e1f84cf9d1ab04daf310719 (diff) | |
download | cpython-7abf520d6c8c820f42332d51c58a192db658ac29.zip cpython-7abf520d6c8c820f42332d51c58a192db658ac29.tar.gz cpython-7abf520d6c8c820f42332d51c58a192db658ac29.tar.bz2 |
Add support for // and //=.
Avoid if/elif/elif/else tests where the final else is supposed to
handle exactly one case instead of all other cases. When the list of
operators is extended, the catchall else treats all new operators as
the last operator in the set of tests. Instead, raise an exception if
an unexpected operator occurs.
Diffstat (limited to 'Python')
0 files changed, 0 insertions, 0 deletions