On Sat, May 8, 2010 at 12:04 PM, Vincent Davis <vinc...@vincentdavis.net>wrote:
> Is there a functional assert(x==y, 'error msg') ? > I can only find the assert that is used like; > assert x==y, 'error msg' > What about: def assertfunc(expr, msg): assert expr, msg cheers James
-- http://mail.python.org/mailman/listinfo/python-list