On Nov 15, 5:30 pm, alex23 <wuwe... at gmail.com> wrote: > t = foo(x) if <text on x> else default This should read 'test' instead of 'text', sorry.