True == 1 weirdness

Ian Kelly ian.g.kelly at
Wed Sep 16 19:57:12 CEST 2015

On Wed, Sep 16, 2015 at 11:24 AM, Steven D'Aprano <steve at> wrote:
> if word in line in text:
>     print("word in line and line in text")

It find it hard to imagine how one would arrive at the situation of
needing to check this.

More information about the Python-list mailing list