You could add all the printing methods to the classes themselves.

Aaron Meurer

On Jul 17, 2012, at 4:18 AM, "[email protected]"
<[email protected]> wrote:

> In the diffgeom module there are classes that may have the same names
> as classes in other namespaces:
>
> - Point
> - Differential
> - Commutator
>
> How to implement printing for such classes? I can just override the
> _print methods of the classes instead of rely on the methods of the
> Printer classes. It is an ugly solution. Other ideas?
>
> --
> 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.
>

-- 
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