On 16 sep, 17:06, John H Palmieri <jhpalmier...@gmail.com> wrote: > I don't know if this is the same issue, but I think I've also seen the > @CachedFunction decorator hide documentation: if you have > > @CachedFunction > def bozo(...): > > Then bozo doesn't appear in the reference manual. I've considered > doing > > def bozo_(...): > > bozo = CachedFunction(bozo_) > > Then bozo_ appears in the ref manual and bozo is what you actually > call. But it's annoying.
It's just a workaround, but what about def bozo(...): ... bozo = CachedFunction(bozo) This is, you define a function and assign it the "bozo" identifier, and then set the "bozo" identifier to point to the cached version of the old "bozo". -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org