pub fn python_base_origin_node<'tree>(base: Node<'tree>) -> Node<'tree>Expand description
The node whose text names a base class: the value a subscripted base applies its type arguments to, or the base expression itself.
Base spellings recorded by [extract_python_supertypes] are looked up
again against the class’s own syntax, so both sides must reduce a base the
same way or a generic base stops matching the spelling it produced.