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