In article <[EMAIL PROTECTED]>,
 John Machin <[EMAIL PROTECTED]> wrote:

>To meet your specifications, the module would need to incorporate a 
>mini-language:
>
>if a and (b or c): nasty("blah 1")
>if not (a or b or c or d): nasty("blah 2")
>if a and c and not d: nasty("blah 3")

Prolog-style predicates. :)
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to