Andreas Jung wrote:
Frank Burkhardt <[EMAIL PROTECTED]> wrote:

in Zope2 there's a test() method that can be used in TAL (*). Is there
something comparable in Zope3?

You can write this in Python as

   condition and true_expression or false_expression

In Python 2.5 you'll be able to write

        true_expression if condition else false_expression

--
Benji York
Senior Software Engineer
Zope Corporation
_______________________________________________
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users

Reply via email to