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:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user