summaryrefslogtreecommitdiff
path: root/Cython/Includes/cpython/pycapsule.pxd
diff options
context:
space:
mode:
Diffstat (limited to 'Cython/Includes/cpython/pycapsule.pxd')
-rw-r--r--Cython/Includes/cpython/pycapsule.pxd2
1 files changed, 1 insertions, 1 deletions
diff --git a/Cython/Includes/cpython/pycapsule.pxd b/Cython/Includes/cpython/pycapsule.pxd
index c3d12c749..08062da85 100644
--- a/Cython/Includes/cpython/pycapsule.pxd
+++ b/Cython/Includes/cpython/pycapsule.pxd
@@ -13,7 +13,7 @@ cdef extern from "Python.h":
# access C APIs defined in dynamically loaded modules.
- ctypedef void (*PyCapsule_Destructor)(object o)
+ ctypedef void (*PyCapsule_Destructor)(object o) noexcept
# The type of a destructor callback for a capsule.
#
# See PyCapsule_New() for the semantics of PyCapsule_Destructor