Skip to content

Commit 65ea351

Browse files
authored
feat(languages): update python grammar version (#14756)
1 parent 3f4a286 commit 65ea351

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

languages.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1061,7 +1061,7 @@ indent = { tab-width = 4, unit = " " }
10611061

10621062
[[grammar]]
10631063
name = "python"
1064-
source = { git = "https://github.com/tree-sitter/tree-sitter-python", rev = "4bfdd9033a2225cc95032ce77066b7aeca9e2efc" }
1064+
source = { git = "https://github.com/tree-sitter/tree-sitter-python", rev = "293fdc02038ee2bf0e2e206711b69c90ac0d413f" }
10651065

10661066
[[language]]
10671067
name = "nickel"

runtime/queries/python/tags.scm

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
(module (expression_statement (assignment left: (identifier) @name) @definition.constant))
2+
13
(class_definition
24
name: (identifier) @name) @definition.class
35

0 commit comments

Comments
 (0)