diff --git a/Lib/tcl/exception.i b/Lib/tcl/exception.i index dcccfed04..4d22797cc 100644 --- a/Lib/tcl/exception.i +++ b/Lib/tcl/exception.i @@ -2,5 +2,5 @@ %insert("runtime") { - %define_as(SWIG_exception(code, msg), %block(%error(code, msg); SWIG_fail;)) + %define_as(SWIG_exception(code, msg), %block(%error(code, msg); return TCL_ERROR;)) }