[Python-Dev] PEP 3003 - Python Language Moratorium

skip at pobox.com skip at pobox.com
Sat Nov 7 13:10:57 CET 2009


    Guido> ... it's IMO pretty mysterious if you encounter this and don't
    Guido> already happen to know what it means.

If you require parens maybe it parses better:

    import (a or b or c) as mod

Given that the or operator shortcuts I think that (a or b or c) terminates
once a module is found isn't too hard to grasp.

Skip


More information about the Python-Dev mailing list