En Thu, 08 Mar 2007 06:17:37 -0300, Gerard Flanagan  
<[EMAIL PROTECTED]> escribió:

> @onfail(False)
> def a(x):
>     if x == 1:
>         return 'function a succeeded'
>     else:
>         raise

I know it's irrelevant, as you use a bare except, but such raise looks a  
bit ugly...

-- 
Gabriel Genellina

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to