From 1370082ddf612c81f96e6edf7bed9bb1797f19be Mon Sep 17 00:00:00 2001 From: Peter Johnson Date: Sun, 16 Apr 2006 02:56:54 +0000 Subject: [PATCH] * intnum.pxi: Use correct name for NotImplementedError. svn path=/trunk/yasm/; revision=1490 --- tools/python-yasm/intnum.pxi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)) -- 2.49.0