id	summary	reporter	owner	description	type	status	priority	milestone	component	resolution	keywords	cc	work_issues	upstream	reviewer	author	merged	dependencies	stopgaps
11775	Make pretty_print take multiple arguments	ppurka	jason	"The pretty_print function currently takes only one argument. This somehow makes it difficult to print multiple things in one line, for instance the following is currently not possible:
{{{
A = identity_matrix(2); pretty_print(""A = "", A)
}}}
with the output being ""A = <the matrix A on the same line>""

I am attaching a patch which allows pretty_print to take in multiple arguments. It is based on some code by _leif @ #sagemath (See http://sagenb.org/home/pub/3111/ ). Also kini @ #sagemath helped in passing the doctests.

The modifications are to 1) the function pretty_print 2) the doctests in pretty_print 3) the doctest in pretty_print_default (whitespace issues)

-----

'''Apply''' only [attachment:trac_11775-pretty_print_multiple_args.5.patch] to `SAGE_ROOT/devel/sage`."	enhancement	closed	major	sage-5.1	misc	fixed	pretty print sd40.5			N/A	Keshav Kini, William Stein	Punarbasu Purkayastha	sage-5.1.beta5		
