I probably don't understand your question, so let me try a different answer in the hopes that that is what you were asking:
The _rich_repr_() method is always called by the displayhook. If the object doesn't have one (AttributeError), or if it does not return anything (i.e. returns None) then we fall back to _repr_(). On Wednesday, April 29, 2015 at 5:12:27 PM UTC-4, Martin R wrote: > > I don't understand this answer. Am I the only one who doesn't get it? If > so, don't bother to explain, I'm giving up. > > -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.