From: Peter Johnson Date: Sun, 16 Apr 2006 02:56:54 +0000 (-0000) Subject: * intnum.pxi: Use correct name for NotImplementedError. X-Git-Tag: v0.5.0~17^2~14 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1370082ddf612c81f96e6edf7bed9bb1797f19be;p=yasm * intnum.pxi: Use correct name for NotImplementedError. svn path=/trunk/yasm/; revision=1490 --- diff --git a/tools/python-yasm/intnum.pxi b/tools/python-yasm/intnum.pxi index 15e7501b..6d157484 100644 --- a/tools/python-yasm/intnum.pxi +++ b/tools/python-yasm/intnum.pxi @@ -86,7 +86,7 @@ cdef object __intnum_op(object x, yasm_expr_op op, object y): yasm_intnum_calc((result).intn, op, (y).intn, 0) return result else: - raise NotImplemented + raise NotImplementedError cdef object __make_intnum(yasm_intnum *intn): return IntNum(PyCObject_FromVoidPtr(intn, NULL)) @@ -195,6 +195,6 @@ cdef class IntNum: elif op == 3: aop = YASM_EXPR_NE elif op == 4: aop = YASM_EXPR_GT elif op == 5: aop = YASM_EXPR_GE - else: raise NotImplemented + else: raise NotImplementedError v = __intnum_op(x, aop, y) return bool(not yasm_intnum_is_zero((v).intn))