[Zope-Coders] Re: SVN: Zope/trunk/ - Recataloging a ZCatalog instance is now more safe and predictable.

Andreas Jung andreas at andreas-jung.com
Thu May 13 15:23:06 EDT 2004


Fixed

--On Donnerstag, 13. Mai 2004 15:16 Uhr -0400 Casey Duncan <casey at zope.com> 
wrote:

> On Thu, 13 May 2004 14:33:47 -0400
> Andreas Jung <andreas at andreas-jung.com> wrote:
> [..]
>>  manage_addZCatalogForm=DTMLFile('dtml/addZCatalog',globals())
>> @@ -55,6 +57,8 @@
>>
>>
>>  class ZCatalog(Folder, Persistent, Implicit):
>> +    __implements__ = IZCatalog
>> +
>>      """ZCatalog object
>>
>>      A ZCatalog contains arbirary index like references to Zope
>> @@ -73,8 +77,6 @@
>>      Python program to catalog objects.
>>
>>      """
>> -
>> -    __implements__ = IZCatalog
>
> Moving this up means that ZCatalog no longer has a docstring. The
> docstring must be first for the interpreter to recognize it and stuff it
> into __doc__.
>
> -Casey
>
>
> _______________________________________________
> Zope-Coders mailing list
> Zope-Coders at zope.org
> http://mail.zope.org/mailman/listinfo/zope-coders







More information about the Zope-Coders mailing list