• Jeremy Hylton's avatar
    Add support for // and //=. · 72748dd9
    Jeremy Hylton authored
    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.
    72748dd9
transformer.py 42.7 KB