On 6/24/2011 10:39 PM, pipehappy wrote:
Hi,

Why people want print() instead of print str? That's not a big deal
and the old choice is more natural. Anyone has some clue?

print as a function instead of a statement is consistent with input as a function, can be overridden with custom versions, can be passed to functions as an argument, and can have options passed as arguments instead of with terrible syntax hacks.

--
Terry Jan Reedy

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to