
March 19, 2010
3:33 a.m.
On Thu, Mar 18, 2010 at 10:28 PM, David Stanek <dstanek@dstanek.com> wrote:
I don't remember seeing much code using function properties. I would probably just create a new decorator for this.
I've not either, but if we determine that this is a useful facility to include in the standard library, I'd be in favor of something like this: @setattr(printable=True) def f(): """Example function""" -Fred -- Fred L. Drake, Jr. <fdrake at gmail.com> "Chaos is the score upon which reality is written." --Henry Miller