On Feb 19, 10:30 pm, Lawrence D'Oliveiro <l...@geek-
central.gen.new_zealand> wrote:
> In message <op.u8at0suda8n...@gnudebst>, Rhodri James wrote:
>
> > In classic Pascal, a procedure was distinct from a function in that it had
> > no return value.  The concept doesn't really apply in Python; there are no
> > procedures in that sense, since if a function terminates without supplying
> > an explicit return value it returns None.
>
> If Python doesn’t distinguish between procedures and functions, why should
> it distinguish between statements and expressions?

Because the real world works is more complex than simplified one-
sentence generalizations.


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

Reply via email to