Status: Accepted
Owner: asmeurer
Labels: Type-Defect Priority-Medium Documentation Printing

New issue 2546 by asmeurer: Docs advocate monkeypatching Basic
http://code.google.com/p/sympy/issues/detail?id=2546

At http://docs.sympy.org/0.7.0/modules/printing.html?highlight=printer#module-sympy.printing.printer, it says:

# Override the __str__ method of to use CustromStrPrinter
Basic.__str__ = lambda self: CustomStrPrinter().doprint(self)

I think we shouldn't be advocating to monkeypatch Basic in our docs. This should be rewritten to do it another way.

--
You received this message because you are subscribed to the Google Groups 
"sympy-issues" 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-issues?hl=en.

Reply via email to