diff --git a/mpfr.pyx b/mpfr.pyx index 878152d..7be23c7 100644 --- a/mpfr.pyx +++ b/mpfr.pyx @@ -37,7 +37,7 @@ cdef extern from "limits.h": # Mpz_t type and functions ############################################################################### -ctypedef void (*free_func) (void *, size_t) +ctypedef void (*free_func) (void *, size_t) noexcept cdef class Mpz_t: