On Fri, Apr 24, 2009 at 8:09 AM, Carl Witty <carl.wi...@gmail.com> wrote:
> As far as aliases go, it should be possible to automatically detect
> aliases inside sphinx and produce appropriate documentation (once we
> decide what the appropriate documentation is).  (This would mean
> patching sphinx, or forking the autodoc extension; hopefully this
> would be considered a useful feature that would be accepted upstream.)

Yes, this is relatively easy to do since the __name__ of an aliased
method is different than the name in the class namespace under which
it appears.  For example,

sage: x.numerical_approx.__name__
'n'

--Mike

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to 
sage-devel-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to