On 2 Sep 2009, at 00:10 , Greg Ewing wrote:
Le mardi 01 septembre 2009 à 15:09 +0200, Xavier Morel a écrit :
"We" are not Erlang, Smalltalk, OCaml or Haskell either, sadly.
IIRC, the default return value of a Smalltalk method is
self, not the last thing evaluated.
Methods yes (and that's one of the few Smalltalk design "features" I
consider truly dumb, considering it has message cascading), but I was
referring to blocks rather than methods and the return value of blocks
is the last evaluated expression.
(And no, that's not going to happen in Python either --
the BDFL has rejected similar suggestions on previous
occasions.)
I know.
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com