[Chicago] Ode to <>

Luke Opperman luke at metathusalan.com
Fri Sep 1 17:54:56 CEST 2006


Quoting Ian Bicking <ianb at colorstudy.com>:

> Note you can also do funny tricks with this stuff, since these methods
> don't have to return True/False.  This is how SQLObject/SQLBuilder
> expressions work (and you can see the same technique elsewhere).  For
> instance:

Now why did they make "in" (__contains__) forced to True/False?


More information about the Chicago mailing list