[Python-ideas] "on" statement

Georg Brandl g.brandl at gmx.net
Fri Apr 2 09:25:04 CEST 2010


Am 01.04.2010 22:54, schrieb George Sakkis:

> I hope so! I'm tossing in a few more suggestions that would make some
> idioms more intuitive:


> * import obj in module as name
> 
>    import module
>    setattr(module, name, obj)
>    del module

My favorite!

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.




More information about the Python-ideas mailing list