Gianni wrote: > conditions = [a, b, c] > if any(conditions) and not all(conditions) > > quando l'ho letta mi son tolto il cappello. :)
Se posso tirarmela un pochetto, questo l'ho fatto io di recente: :-) <https://codereview.appspot.com/9121043/diff/1/hooks/backend.py#newcode200> -- Nicola Larosa - http://www.tekNico.net/ _______________________________________________ Python mailing list Python@lists.python.it http://lists.python.it/mailman/listinfo/python