Skip to content

Commit caab202

Browse files
committed
Add noexcept attribute to compile with python3.10.12
1 parent 6a9dc17 commit caab202

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

mpfr.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ cdef extern from "limits.h":
3737
# Mpz_t type and functions
3838
###############################################################################
3939

40-
ctypedef void (*free_func) (void *, size_t)
40+
ctypedef void (*free_func) (void *, size_t) noexcept
4141

4242

4343
cdef class Mpz_t:

0 commit comments

Comments
 (0)