pyo3::impl_::pymethods

Function _call_clear

Source
pub unsafe fn _call_clear(
    slf: *mut PyObject,
    impl_: for<'py> unsafe fn(_: Python<'py>, _: *mut PyObject) -> PyResult<()>,
    current_clear: inquiry,
) -> c_int
Expand description

Calls an implementation of clear for tp_clear

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