This website works better with JavaScript.
Home
Explore
Help
Sign In
jmg
/
gitmirror
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
39
Wiki
Activity
Browse Source
Fix Python 2 error with return from generator
tags/gm/2021-09-23T00Z/github.com--lark-parser-lark/0.66
Alexey Shrub
6 years ago
parent
2ad06a24bd
commit
1cdc7a0e88
1 changed files
with
2 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-1
lark/tree.py
+ 2
- 1
lark/tree.py
View File
@@ -103,7 +103,8 @@ class Tree(object):
def iter_subtrees_topdown(self):
if not self.children:
return self
yield self
return
stack = [self]
while stack:
Write
Preview
Loading…
Cancel
Save