On Wed, Jul 28, 2010 at 10:56 PM, Rob Beezer <[email protected]> wrote:
> It would appear that the �...@cached_function  decorator prevents the
> decorated function from appearing in the HTML reference manual.
> Evidence is
>
> sage.functions.special.maxima_function()
> sage.structure.dynamic_class.dynamic_class_internal()
> sage.graphs.graph_latex.setup_latex_preamble()
>
> The �...@options  decorator doesn't seem to have the same effect, for
> example
>
> sage.graphs.generic_graph.graphplot()
>
> comes through into the documentation just fine.
>
> I couldn't find anything in Trac about this.  Are there examples where
> a cached function survives into the documentation?  Thoughts on a
> cause or a solution?

Lazy imports do this:
http://hg.sagemath.org/sage-main/file/426be7b253ad/sage/misc/lazy_import.py
On that note, #8456 - enhancements to lazy import, is still in need of
a review.

-- 
To post to this group, send an email to [email protected]
To unsubscribe from this group, send an email to 
[email protected]
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to