print() in Python 3000 return value?

"Martin v. Löwis" martin at v.loewis.de
Sun Apr 2 13:19:18 EDT 2006


James Thiele wrote:
> I noticed in PEP 3000 that print will become a function. The PEP
> references a thread where Guido explains this decision. The thread does
> not specify what the function will return. Has this been decided?

My intuition is that it should be a procedure (i.e. returning None).

What do you want it to return?

Regards,
Martin



More information about the Python-list mailing list