pub fn new(_py: Python, val: c_double) -> Py<PyFloat> {
        unsafe {
            Py::from_owned_ptr_or_panic(ffi::PyFloat_FromDouble(val))
        }
    }
/// Creates a new Python `float` object.
Creates a new Python `float` object.
Creates a new Python ` float ` object .
pub fn new(_py: Python, val: c_double) -> Py<PyFloat> {
        unsafe {
            Py::from_owned_ptr_or_panic(ffi::PyFloat_FromDouble(val))
        }
    }
pub fn new ( _py : Python , val : c_double ) -> Py < PyFloat > { unsafe { Py :: from_owned_ptr_or_panic ( ffi :: PyFloat_FromDouble ( val ) ) } }
Creates a new Python `float` object.
Creates a new Python ` float ` object .
_py
Python
val
c_double
_py
Python
val
c_double