On Tue, Nov 17, 2009 at 12:46 AM, Chris Rebert <c...@rebertia.com> wrote:

> On Mon, Nov 16, 2009 at 6:23 AM, Xavier Ho <cont...@xavierho.com> wrote:
> > AND operator has a higher precedence, so you don't need any brackets
> here, I
> > think. But anyway, you have to use it like that. So that's something
> you'll
> > have to fix first.
>
> Er, you mean lower precedence. Higher precedence means it would bind
> tighter, thus the expression would mean:
> '3' in (l and 'no3') in l
> which is certainly incorrect.
>
>
Thanks for the correction, Chris.

Cheers,
Xav
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to