Hi everyone,
I was browsing through the testing structure of 'pretty printing' in SymPy,
in particular tests file. I can see that in
https://github.com/sympy/sympy/blob/master/sympy/printing/pretty/tests/test_pretty.py#L3917
we
have 'pretty' used there, now that test is opposed (different) from what
'pretty' actually does when we simply do 'from sympy import *', I can see
that there a few function definition for 'pretty' and 'xpretty', that makes
it clear what they actually do.
Now my question is: is there a good enough reason for why that redefinition
is done?
Obviously that is done intentionally, one reason I could think of is to
make the module be able handle more different types of printings using
smaller function names, 'xpretty' ('from sympy.printing.pretty import
pretty as pretty'), 'pretty' are small. Is the reason as simple as that?
---
Gaurav Dhingra (gxyd)
--
You received this message because you are subscribed to the Google Groups
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sympy.
To view this discussion on the web visit
https://groups.google.com/d/msgid/sympy/99a87b53-429e-43cd-b317-efe56486c31f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.