sympy/sympy — pull request #952 by vperic (2012-01-10 11:10:29+00:00)
Title: printing/pretty: Add pretty printer for GeometryEntity

GeometryEntity didn't have a pretty printer defined. As it is not
subclassed from a SymPy class, but rather a Python tuple, this caused
errors when pretty printing. Fix by just calling the emptyPrinter (which
is the same as str(expr)) for GeometryEntity. This fixes issue 2761.

This also helps with ipython, which uses pretty printing by default.