Usefulness of the "not in" operator

Dave Angel d at davea.name
Sat Oct 8 11:16:54 EDT 2011


On 01/-10/-28163 02:59 PM, candide wrote:
> Le 08/10/2011 12:42, candide a écrit :
>>>> >>> not ('th' in "python")
>> False
>> >>>
>>>> After browsing source code, I realize that parenthesis are not 
> necessary ("not" has higher precedence than "in").
>You should say
 "... parenthesis are not necessary ("not" has LOWER precedence than 
"in")."
-- 
DaveA


More information about the Python-list mailing list

AltStyle によって変換されたページ (->オリジナル) /