pyo3::ffi

Function PyDate_Check

Source
pub unsafe fn PyDate_Check(op: *mut PyObject) -> i32
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.