On 6 Oct 2006 16:27:51 -0700, Aahz <[EMAIL PROTECTED]> wrote:
> The following line of lightly munged code was found in a publicly
> available Python library...
>
>     if schema.elements.has_key(key) is False:

if not schema.elements.has_key(key): or, actually, if not key in
schema.elements: is how I would write it, but this reads more like
English.

-- Theerasak
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to