Did I find the right examples for you? yes no

All Samples(11)  |  Call(11)  |  Derive(0)  |  Import(0)
str(object='') -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.

src/s/y/sympy-HEAD/sympy/printing/pretty/pretty.py   sympy(Download)
            return prettyForm(pretty_atom(e.__class__.__name__))
        except KeyError:
            return self.emptyPrinter(e)
 
    # Infinity inherits from Number, so we have to override _print_XXX order
    def _print_GeometryEntity(self, expr):
        # GeometryEntity is based on Tuple but should not print like a Tuple
        return self.emptyPrinter(expr)
 
    def _print_Lambda(self, e):
            return result
        else:
            return self.emptyPrinter(expr)
 
    def _print_Fraction(self, expr):
            return result
        else:
            return self.emptyPrinter(expr)
 
    def _print_ProductSet(self, p):

src/s/y/sympy-0.7.5/sympy/printing/pretty/pretty.py   sympy(Download)
            return prettyForm(pretty_atom(e.__class__.__name__))
        except KeyError:
            return self.emptyPrinter(e)
 
    # Infinity inherits from Number, so we have to override _print_XXX order
    def _print_GeometryEntity(self, expr):
        # GeometryEntity is based on Tuple but should not print like a Tuple
        return self.emptyPrinter(expr)
 
    def _print_Lambda(self, e):
            return result
        else:
            return self.emptyPrinter(expr)
 
    def _print_Fraction(self, expr):
            return result
        else:
            return self.emptyPrinter(expr)
 
    def _print_ProductSet(self, p):

src/s/y/sympy-polys-HEAD/sympy/printing/pretty/pretty.py   sympy-polys(Download)
            return prettyForm(pretty_atom(e.__class__.__name__))
        except KeyError:
            return self.emptyPrinter(e)
 
    # Infinity inherits from Rational, so we have to override _print_XXX order
            return result
        else:
            return self.emptyPrinter(expr)
 
    def _print_Fraction(self, expr):
            return result
        else:
            return self.emptyPrinter(expr)
 
    def _print_Interval(self, i):