On Nov 21, 2005, at 12:29 PM, Jean-Marc Orliaguet wrote:

There is another place where there seems to be two different patterns too:

sometimes we have:

  import zope.schema
  name = zope.schema.TextLine(...)

and sometimes:

  from zope.schema import TextLine
  name = TextLine(...)

FWIW, a third is

  from zope import schema

which I often do for zope.component, zope.interface, zope.event, and zope.schema.

I'm not weighing in on the style issues.

Zope3-dev mailing list
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com

Reply via email to