Quellcode durchsuchen

Fix typos in comment of example code

tags/gm/2021-09-23T00Z/github.com--lark-parser-lark/0.12.0
Peter Wienemann vor 3 Jahren
Ursprung
Commit
d28eba4f9a
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. +1
    -1
      examples/advanced/extend_python.py

+ 1
- 1
examples/advanced/extend_python.py Datei anzeigen

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


""", start='file_input') """, 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(): for t in tree.iter_subtrees():
t.data = t.data.rsplit('__', 1)[-1] t.data = t.data.rsplit('__', 1)[-1]




Laden…
Abbrechen
Speichern