浏览代码

Merge pull request #978 from wiene/fix-typos

Fix typos in comment of example code
tags/gm/2021-09-23T00Z/github.com--lark-parser-lark/0.12.0
Erez Shinan 3 年前
committed by GitHub
父节点
当前提交
4b70d1df74
找不到此签名对应的密钥 GPG 密钥 ID: 4AEE18F83AFDEB23
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      examples/advanced/extend_python.py

+ 1
- 1
examples/advanced/extend_python.py 查看文件

@@ -39,7 +39,7 @@ def name(n):

""", start='file_input')

# Remove the 'python3__' prefix that was add to the implicitely imported rules.
# Remove the 'python3__' prefix that was added to the implicitly imported rules.
for t in tree.iter_subtrees():
t.data = t.data.rsplit('__', 1)[-1]



正在加载...
取消
保存