No error checking for PyFloat_AS_DOUBLE() as documented
authorAndreas van Cranenburgh <andreas@unstable.nl>
Sun, 3 Nov 2013 13:56:30 +0000 (14:56 +0100)
committerAndreas van Cranenburgh <andreas@unstable.nl>
Sun, 3 Nov 2013 13:56:30 +0000 (14:56 +0100)
Cython/Includes/cpython/float.pxd

index 45e544a..65328f3 100644 (file)
@@ -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.