fix(python): don't highlight parameter name as builtin (#7732)

This commit is contained in:
Salomon Popp 2025-03-13 09:21:55 +01:00 committed by GitHub
parent 178a68b7ff
commit 683816f147
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 77 additions and 65 deletions

View file

@ -8,6 +8,11 @@ _ = func()
class Foo:
def method(self) -> None: ...
# ^^^^ @variable.builtin
@classmethod
def clsmethod(cls) -> None: ...
# ^^^ @variable.builtin
Foo().method()
# ^^^^^^ @function.method.call