Skip to main content

parse_py_import_node

Function parse_py_import_node 

Source
pub fn parse_py_import_node(
    source: &str,
    node: &Node<'_>,
) -> Option<ImportStatement>
Expand description

Parse one Python import without imposing the import editor’s top-level boundary.