[prev in list] [next in list] [prev in thread] [next in thread] 

List:       zope3-users
Subject:    [Zope3-Users] Fields are not inherited
From:       mailinglists () xgm ! de (Florian Lindner)
Date:       2005-09-12 15:39:06
Message-ID: 200509122127.51278.mailinglists () xgm ! de
[Download RAW message or body]

Am Montag, 12. September 2005 19:47 schrieb Stephan Richter:
> On Monday 12 September 2005 13:30, Florian Lindner wrote:
> > class IContentItem(Interface):
> > ? ? """The ContentItem object works as a base class for all other content
> > objects."""
> >
> > ? ? def __setitem__(name, object):
> > ? ? ? ? """Add a IContentItem object."""
> > ? ? ? ?
> > ? ? ? ? title = TextLine(
> > ? ? ? ? ? ? ? ? ? ? ?title = u"Name",
> > ? ? ? ? ? ? ? ? ? ? ?description = u"Name that will be part of the URL",
> > ? ? ? ? ? ? ? ? ? ? ?required = True) ? ? ? ? ? ? ? ? ?
> > ? ? ? ? ? ? ? ? ? ?
> > ? ? ? ? description = TextLine (
> > ? ? ? ? ? ? ? ? ? ? ? title = u"Description",
> > ? ? ? ? ? ? ? ? ? ? ? description = u"Description of the object.",
> > ? ? ? ? ? ? ? ? ? ? ? required = False)
>
> You got the indentation wrong.

Oh no... Sorry, for this stupid mistake and thanks for telling me...

:-/

Florian
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic