Re: [Epydoc-devel] epydoc 2.1 can't handle PyGetSetDefs?
Brought to you by:
edloper
From: Barry W. <ba...@py...> - 2006-07-12 19:15:14
|
On Jul 11, 2006, at 8:16 AM, Daniele Varrazzo wrote: >> I've had a few minor problems along the way, and some ideas that I'll >> share later, but I wanted to ask a quick question for my current >> blocker. It appears that epydoc cannot handle class attributes >> defined in extension modules with PyGetSetDef. > > i hammered together a patch: with it getset_descriptors appear like > properties. Turns out there's another type of built-in objects that need to be supported like properties: member descriptors. An example is datetime.timedelta.days. Here's a patch cargo culted from your previous patch. It seems to do the trick for me. Cheers, -Barry |