Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python function name issue #303

Open
danielpopescu opened this issue Jan 4, 2024 · 0 comments
Open

python function name issue #303

danielpopescu opened this issue Jan 4, 2024 · 0 comments

Comments

@danielpopescu
Copy link

danielpopescu commented Jan 4, 2024

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant