Re: [Epydoc-devel] Re: epydoc questions
Brought to you by:
edloper
From: Robin D. <ro...@al...> - 2004-04-24 16:53:09
|
Edward Loper wrote: > Robin Dunn wrote: > >>> But I'm sure you don't want *all* imported objects to be listed as if >>> they're defined locally. >> >> >> Actually, in this case I do want all of them. > > > For this one module, maybe, but not in general, right? So maybe what > you want is a module-level way of saying "treat imported objects as > locally defined" instead of an object-level one? > >> For the docs my preference would be that "core" and "wx.core" does not >> show up anywhere, and that everything that lives in wx.core would just >> be documented as "wx.Whatever". > > > If "core" isn't listed in wx.__all__, then it will be treated as > "private." Combined with treaing all names in __all__ as locally > defined, this might do what you want. Alternatively, you might consider > renaming wx.core to wx._core (which will make it very clear to your > users that it's an implementation module, and shouldnt be used directly). Ah, thanks, it makes sense now. For some reason a couple synapses were not making the connection before. Now I know how some of my users feel when I point out the obvious to them! ;-) -- Robin Dunn Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython! |