This is a bug in the pretty printer. While I have fixed this in a branch, I haven't had a chance to merge this in...
Brian On Mon, Dec 13, 2010 at 11:33 AM, Alexey U. Gudchenko <[email protected]> wrote: > > > Hello, > Sorry for my english. > > In "sympy.printing.mathml.py" there is a property printmethod of the > class MathMLPrinter defined: > > printmethod = "_mathml_" > > Why don't to add the line (like it) in PrettyPrinter class > (sympy.printing.pretty.pretty.py)? > > Saying: > > printmethod = "_pretty_" > > > This can be useful when I want to describe MyClassExpr with _pretty_ > method in it. > > Now I did not found the other method to do it, except to add the > PrettyPrinter._print_MyClassExpr method in the core(pretty.py) file. > > (And I don't want to do edit core file) > > > Thank you. > > > -- > 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. > > -- Brian E. Granger, Ph.D. Assistant Professor of Physics Cal Poly State University, San Luis Obispo [email protected] [email protected] -- 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.
