fix(python): prioritize builtin functions

This commit is contained in:
dcho 2025-03-19 18:22:30 -04:00 committed by Christian Clason
parent c8c7924cc3
commit d0a56e3677
2 changed files with 5 additions and 1 deletions

View file

@ -45,7 +45,8 @@
"input" "int" "isinstance" "issubclass" "iter" "len" "list" "locals" "map" "max" "memoryview"
"min" "next" "object" "oct" "open" "ord" "pow" "print" "property" "range" "repr" "reversed"
"round" "set" "setattr" "slice" "sorted" "staticmethod" "str" "sum" "super" "tuple" "type"
"vars" "zip" "__import__"))
"vars" "zip" "__import__")
(#set! priority 102))
; Function definitions
(function_definition

View file

@ -16,3 +16,6 @@ class Foo:
Foo().method()
# ^^^^^^ @function.method.call
print()
# ^ @function.builtin