feat(mma): Integrate AST skeleton extraction into Tier 3 context build
This commit is contained in:
@@ -300,7 +300,7 @@ def get_definition(path: str, name: str) -> str:
|
||||
|
||||
try:
|
||||
import ast
|
||||
code = p.read_text(encoding="utf-8")
|
||||
code = p.read_text(encoding="utf-8").lstrip(chr(0xFEFF))
|
||||
lines = code.splitlines()
|
||||
tree = ast.parse(code)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user