[−][src]Function pyo3::ffi::PyDate_Check
pub unsafe fn PyDate_Check(op: *mut PyObject) -> c_int
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.