On Tue, Apr 12, 2011 at 12:18 PM, Grant Edwards <invalid@invalid.invalid> wrote: > You stated that > > return? <expr> > > was equivalent to > > return <expr> or None
This is _not_ what I said. Quoting from my earlier post: """ > return? expr This syntax does not fit well within python ideology. > be expanded to > > _temp = expr > if _temp: return _temp This could be simplified to just: return expr or None """ Please read carefully before putting words in my mouth. I stated very clear y that return? expr didn't seem fitting in the python ideology as syntax for this behavior. cheers James -- -- James Mills -- -- "Problems are solved by method" -- http://mail.python.org/mailman/listinfo/python-list