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)