devela::_dep::pyo3::ffi

Function PyDate_Check

pub unsafe fn PyDate_Check(op: *mut PyObject) -> i32 
Available on crate features dep_pyo3 and std only.
Expand description

Type Check macros

These are bindings around the C API typecheck macros, all of them return 1 if True and 0 if False. In all type check macros, the argument (op) must not be NULL. Check if op is a PyDateTimeAPI.DateType or subtype.