summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmile Anclin <emile.anclin@logilab.fr>2009-09-07 19:05:50 +0200
committerEmile Anclin <emile.anclin@logilab.fr>2009-09-07 19:05:50 +0200
commit8f893af779865ccd985655c1ba172bddffde1486 (patch)
treea602505f3911d9d21b6e7e4dcd0457e574a226bc
parent9392dd99ed42a9f22d575f3a0c5bc5925ab57359 (diff)
downloadastroid-git-8f893af779865ccd985655c1ba172bddffde1486.tar.gz
[B] remove introduced bug: Yield is no statement
-rw-r--r--_nodes.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/_nodes.py b/_nodes.py
index 714139e3..31d6d91d 100644
--- a/_nodes.py
+++ b/_nodes.py
@@ -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
)