Kaynağa Gözat
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 yıl önce
committed by
GitHub
ebeveyn
işleme
4b70d1df74
Veri tabanında bu imza için bilinen anahtar bulunamadı
GPG Anahtar Kimliği: 4AEE18F83AFDEB23
1 değiştirilmiş dosya ile
1 ekleme ve
1 silme
-
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] |
|
|
|
|
|
|
|