Hi Jason!
On 22 Aug., 11:15, Jason Grout <jason-s...@creativetrax.com> wrote:
> Simon King wrote:
[...]
> Of course, you'd probably do repr(M) instead, which is more standard
> Python. [...]

repr(M) returns a string, but doesn't print it. So, in order to
display repr(M) inside a function, you'd do
  print repr(M)
which is not nice.

> +1 on a function that does this, without having to set an attribute.  +1
> also on making sure that we don't keep adding more and more
> special-purpose display functions without making them have some sort of
> consistent scheme. [...]

Yes, consistency should be taken serious.

Cheers,
Simon

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

Reply via email to