[Zope-dev] Coding style clarifications
Shane Hathaway
shane at hathawaymix.org
Thu Feb 19 16:07:37 EST 2009
Fred Drake wrote:
> On Thu, Feb 19, 2009 at 11:03 AM, Jim Fulton <jim at zope.com> wrote:
>> BTW, I strongly discourage from imports. (I didn't always have this
>> opinion, but have seen the error of my ways. Thanks to Fred Drake for
>> nudging me in this direction.) IMO, this is wildly more important than
>> any of the issues raised in this thread.
>
> You're welcome. :-)
You're saying that:
import zope.interface.Interface
class IFoo(zope.interface.Interface):
...
is better than:
from zope.interface import Interface
class IFoo(Interface):
...
?
Shane
More information about the Zope-Dev
mailing list