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?

reading the discussion, the arguments are about "print" as of now being
a syntactic construc, an operator without apparent reason. all that is
proposed is to tuck it as a function/procedure, i.e. use parenthesis
and be able to redefine with a simple def print(...)

if you think about it, the pythonic way is for print to return None. we
use it for the side effect (stdout output)

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

Reply via email to