exar...@twistedmatrix.com schrieb: > On 12:10 pm, s...@pobox.com wrote: >> 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. > > Did everyone forget what the subject of this thread is?
Why? The subject of this thread is "Importing module alternatives cleanly". We just happened to forget adapting the "Subject:" line. Georg -- Thus spake the Lord: Thou shalt indent with four spaces. No more, no less. Four shall be the number of spaces thou shalt indent, and the number of thy indenting shall be four. Eight shalt thou not indent, nor either indent thou two, excepting that thou then proceed to four. Tabs are right out. _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com