forked from VimPlug/jedi
Fix an issue in YieldExpr.
This commit is contained in:
+1
-2
@@ -1319,9 +1319,8 @@ class ReturnStmt(KeywordStatement):
|
|||||||
|
|
||||||
class YieldExpr(BaseNode):
|
class YieldExpr(BaseNode):
|
||||||
__slots__ = ()
|
__slots__ = ()
|
||||||
def __init__(self, *args, **kwargs):
|
|
||||||
super().__init__(*args, **kwargs)
|
|
||||||
|
|
||||||
|
@property
|
||||||
def type(self):
|
def type(self):
|
||||||
return 'yield_expr'
|
return 'yield_expr'
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user