On 4/21/06, Ian Bicking <[EMAIL PROTECTED]> wrote:
Greg Ewing wrote:

> Have you seen my proposal for "or" in import statements?
> Would you consider that elegant enough?

No, I haven't; I assume you mean:

   from string import Template or from mypackage.backports.string24
import Template

... that (realistic) example doesn't look very pretty :(

The suggestion was

  from string or mypackage.backports.string24 import Template

which looks a bit better.

--
Thomas Wouters <[EMAIL PROTECTED]>

Hi! I'm a .signature virus! copy me into your .signature file to help me spread!
_______________________________________________
Python-3000 mailing list
Python-3000@python.org
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe: 
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Reply via email to