From 3c13f28373dd29edce52f1b35072ac5f8820f568 Mon Sep 17 00:00:00 2001 From: Andreas van Cranenburgh Date: Sun, 3 Nov 2013 14:56:30 +0100 Subject: [PATCH] No error checking for PyFloat_AS_DOUBLE() as documented --- Cython/Includes/cpython/float.pxd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cython/Includes/cpython/float.pxd b/Cython/Includes/cpython/float.pxd index 45e544a..65328f3 100644 --- a/Cython/Includes/cpython/float.pxd +++ b/Cython/Includes/cpython/float.pxd @@ -34,6 +34,6 @@ cdef extern from "Python.h": double PyFloat_AsDouble(object pyfloat) except? -1 # Return a C double representation of the contents of pyfloat. - double PyFloat_AS_DOUBLE(object pyfloat) except? -1 + double PyFloat_AS_DOUBLE(object pyfloat) # Return a C double representation of the contents of pyfloat, but # without error checking. -- 2.7.4