On Apr 16, 1:24 pm, candide <cand... at free.invalid> wrote: > Consider the following code : > > # -------------------------------------- > def bool_equivalent(x): > return True if x else False It's faster to write: def bool_equivalent(x): return not not x Raymond