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

Reply via email to