Skip to main content

python_documentation_string_run

Function python_documentation_string_run 

Source
pub fn python_documentation_string_run(
    value: &Node<'_>,
    code: &[u8],
    ancestors: Ancestors<'_, '_>,
    credit: impl FnMut(usize, usize),
)
Expand description

Credits a consecutive run of documentation strings at its last string. Comments between statements do not break the run. Deciding once keeps additional-docstring recognition linear in the number of statements.