[Grok-dev] Annotations Documentation

Sebastian Ware sebastian at urbantalk.se
Thu Dec 11 10:30:40 EST 2008


11 dec 2008 kl. 15.54 skrev Paul Wilson:

> Hi,
>
> Confused: at http://grok.zope.org/doc/current/reference/components.html#grok-annotation 
> ,
> should the last 2 lines read:
>
> livestock1.unique = 101
> livestock2.unique = 102
>
> ??

Once you've created your annotation object, you can assign anything to  
it regardless of what is defined in the interface.

>
>
> (Also, I think class ``Branding`` should have an attribute "unique"
> rather than "unqiue"....)
>
That definitely looks like a typo.

Mvh Sebastian



More information about the Grok-dev mailing list