[Python-Dev] [OT] implicit return values (original) (raw)

Greg Ewing greg.ewing at canterbury.ac.nz
Wed Sep 2 00:10:25 CEST 2009


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.

(And no, that's not going to happen in Python either -- the BDFL has rejected similar suggestions on previous occasions.)

-- Greg



More information about the Python-Dev mailing list