Skip to main content

is_python_language

Function is_python_language 

Source
pub fn is_python_language(lang: &Language) -> bool
Expand description

Check whether a tree_sitter::Language is the Python grammar.

Used by crate::repo_map to gate Python-specific receiver-type heuristics. Same node-kind-count proxy as is_rust_language.