Name of a templated function, say:
def max_elem[T](lst: list[T], key: Callable[[T, T], int]) -> T:
pass
is not colored/highlighted as a function name.
Compare to highlighting of:
def max_elem(lst: list[float]) -> T:
pass
thank you.
Actually the entire declaration is highlighted differently than a regular function (name, parameters, etc).