Re: [Pytables-users] python: getting the docstring of a function within that function

2009-09-05 Thread Kenneth Arnold
It seems like you're wanting to make a general pattern where the results of a function get stored in an array with a doc determined by that function's docstring. Decorators work well for this sort of thing. -Ken On Fri, Sep 4, 2009 at 3:06 PM, nicky van foreest wrote: > Hi, > > I realize my ques

Re: [Pytables-users] python: getting the docstring of a function within that function

2009-09-05 Thread Francesc Alted
A Friday 04 September 2009 21:06:09 nicky van foreest escrigué: > Hi, > > I realize my question is somewhat off-topic for the pytables > community, but the problem originates from my using pytables. In the > skeleton code below I do not like to use the function's name to get > the doc string. > >