Function pyo3_macros_backend::get_doc[][src]

pub fn get_doc(
    attrs: &[Attribute],
    text_signature: Option<(&Ident, &TextSignatureAttribute)>
) -> PythonDoc
Expand description

Collects all #[doc = “…”] attributes into a TokenStream evaluating to a null-terminated string e.g. concat!(“…”, “\n”, “\0”)