1
0
forked from VimPlug/jedi

Starting with Python 3.4 from is not a token that always is a "new" statement.

This commit is contained in:
Dave Halter
2015-12-26 02:47:22 +01:00
parent eb2e41f771
commit ab5d0ed72b
3 changed files with 7 additions and 4 deletions

View File

@@ -1319,6 +1319,8 @@ class ReturnStmt(KeywordStatement):
class YieldExpr(BaseNode):
__slots__ = ()
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
def type(self):
return 'yield_expr'