When reviewing Tom's code, I noticed he had this doctest:

>>> hyper((1, ), [], x)
hyper(Tuple(1), Tuple(), x)

I mentioned that it would be better to have it print as just
"hyper((1,), [], x)"  I didn't realize that the printing of "Tuple"
was happening automatically (see
https://github.com/ness01/sympy/commit/5fd60e8b2b496c489b174dd7380b7a96d806d3c1#commitcomment-457433).

Is there a way to make the printer do this automatically, without
changing Tuple.__str__?  Perhaps we should special case it so that
Tuple doesn't print as "Tuple" when it is inside of an expression
(i.e., it would automatically be sympified to a Tuple anyway).

Aaron Meurer

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sympy?hl=en.

Reply via email to