Skip to content

Commit bea83c0

Browse files
committed
fix: remove method_definition from python
1 parent 4b7b7f9 commit bea83c0

File tree

3 files changed

+2
-8
lines changed

3 files changed

+2
-8
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ to identify functions, classes, interfaces, and other code structures for each l
9696

9797
**Supported:** Go, Markdown, Python
9898

99-
**Planned:** TypeScript, JavaScript
99+
**Planned:** TypeScript, JavaScript, Rust, C++
100100

101101
## Contributing
102102

cmd/sourcerer/VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v0.4.0
1+
v0.4.1

internal/parser/python.go

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,6 @@ var PythonSpec = &LanguageSpec{
1313
"class_definition": {
1414
NameQuery: `(class_definition name: (identifier) @name)`,
1515
},
16-
"method_definition": {
17-
NameQuery: `
18-
(class_definition
19-
body: (block
20-
(function_definition name: (identifier) @name)))`,
21-
},
2216
"decorated_definition": {
2317
NameQuery: `(decorated_definition definition: [
2418
(function_definition name: (identifier) @name)

0 commit comments

Comments
 (0)