~dinko-metalac/calculus-app2/trunk

« back to all changes in this revision

Viewing changes to lib/py/sympy/printing/defaults.py

  • Committer: dinko.metalac at gmail
  • Date: 2015-04-14 13:28:14 UTC
  • Revision ID: dinko.metalac@gmail.com-20150414132814-j25k3qd7sq3warup
new sympy

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
from __future__ import print_function, division
 
2
 
1
3
class DefaultPrinting(object):
2
4
    """
3
5
    The default implementation of printing for SymPy classes.
10
12
    """
11
13
 
12
14
    # Note, we always use the default ordering (lex) in __str__ and __repr__,
13
 
    # regardless of the global setting. See issue 2388.
 
15
    # regardless of the global setting. See issue 5487.
14
16
    def __str__(self):
15
17
        from sympy.printing.str import sstr
16
18
        return sstr(self, order=None)