diff options
| author | Emile Anclin <emile.anclin@logilab.fr> | 2009-09-07 19:05:50 +0200 |
|---|---|---|
| committer | Emile Anclin <emile.anclin@logilab.fr> | 2009-09-07 19:05:50 +0200 |
| commit | 8f893af779865ccd985655c1ba172bddffde1486 (patch) | |
| tree | a602505f3911d9d21b6e7e4dcd0457e574a226bc | |
| parent | 9392dd99ed42a9f22d575f3a0c5bc5925ab57359 (diff) | |
| download | astroid-git-8f893af779865ccd985655c1ba172bddffde1486.tar.gz | |
[B] remove introduced bug: Yield is no statement
| -rw-r--r-- | _nodes.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -38,14 +38,14 @@ LOOP_SCOPES = (Comprehension, For,) STMT_NODES = ( Assert, Assign, AugAssign, Break, Class, Continue, Delete, Discard, ExceptHandler, Exec, For, From, Function, Global, If, Import, Pass, Print, - Raise, Return, TryExcept, TryFinally, While, With, Yield + Raise, Return, TryExcept, TryFinally, While, With ) ALL_NODES = STMT_NODES + ( Arguments, AssAttr, AssName, BinOp, BoolOp, Backquote, CallFunc, Compare, Comprehension, Const, Decorators, DelAttr, DelName, Dict, Ellipsis, EmptyNode, ExtSlice, Getattr, GenExpr, IfExp, Index, Keyword, Lambda, - List, ListComp, Module, Name, Slice, Subscript, UnaryOp, Tuple + List, ListComp, Module, Name, Slice, Subscript, UnaryOp, Tuple, Yield ) |
