Found it, found it!! It seems that "?" is implemented in sage.misc.sagedoc.my_getdoc.
Looking at the code, it *is* intended to use sage.misc.sageinspect.sage_getdoc. However, if the object has a _sage_doc_ method, then its output will be printed without any formatting applied. I think that's a bug. After all, sage.misc.sageinspect.sage_getdoc would use the _sage_doc_ method as well. Opening a ticket now... -- 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