Function pyo3::impl_::extract_argument::extract_argument

source ·
#[doc(hidden)] pub fn extract_argument<'a, 'py, T>(
    obj: &'a Bound<'py, PyAny>,
    holder: &'a mut T::Holder,
    arg_name: &str
) -> PyResult<T>
where T: PyFunctionArgument<'a, 'py>,
Expand description

The standard implementation of how PyO3 extracts a #[pyfunction] or #[pymethod] function argument.

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