[Zope3-Users] Fields are not inherited

Florian Lindner mailinglists at xgm.de
Mon Sep 12 15:27:51 EDT 2005


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


More information about the Zope3-users mailing list