O'Reilly logo
  • Volodymyr Buiel thinks this is interesting:

filter_func() function. If the value of

From

Cover of Functional Python Programming - Second Edition

Note

I'd go with if->elif->else or if->if->none sequence instead of if->if->else