On 9/16/12 09:38 , Wichert Akkerman wrote: > On Sep 16, 2012, at 07:28, Marius Gedminas <mar...@gedmin.as> wrote: > >> On Fri, Sep 14, 2012 at 01:44:30PM +0200, Jan-Wijbrand Kolman wrote: >>> After years and years of heavily using zope.formlib it suddenly struck >>> me that the zope.formlib.form.action decorator returns an Action() >>> object instead of the decorated function (this action object is also >>> added to the form's actions sequence as a "side effect" of the decorator). >>> >>> I know wonder: Why? >> >> (I've no clue.) > > Another effect of this is probably that you can use sphinx's autodoc for > actions which would be unfortunate.
Ah, good catch. Didn't think of that yet... regards, jw _______________________________________________ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )