pub fn build_pyclass_doc(
    class_name: &'static str,
    doc: &'static CStr,
    text_signature: Option<&'static str>,
) -> PyResult<Cow<'static, CStr>>Expand description
Runtime helper to build a class docstring from the doc and text_signature.
This is done at runtime because the class text signature is collected via dtolnay
specialization in to the #[pyclass] macro from the #[pymethods] macro.