Skip to main content

PyDateTime_Check

Function PyDateTime_Check 

Source
unsafe fn PyDateTime_Check(op: *mut PyObject) -> c_int
Expand description

Check if op is a PyDateTimeAPI.DateTimeType or subtype.

§Safety

Must only be called while the GIL is held

⚠️ Internal Docs ⚠️ Not Public API 👉 Official Docs Here