diff options
| author | Sylvain Thénault <sylvain.thenault@logilab.fr> | 2009-03-24 10:07:26 +0100 |
|---|---|---|
| committer | Sylvain Thénault <sylvain.thenault@logilab.fr> | 2009-03-24 10:07:26 +0100 |
| commit | b895d374c52964f65ea488d558583a44faf7ff67 (patch) | |
| tree | b3ff5cbe6f188b017a5f875c4f599fca6a8eb55d /nodes.py | |
| parent | d9e966254f371804952dd804aad056607cc9ea01 (diff) | |
| download | astroid-git-b895d374c52964f65ea488d558583a44faf7ff67.tar.gz | |
STMTS_NODES -> STMT_NODES
Diffstat (limited to 'nodes.py')
| -rw-r--r-- | nodes.py | 14 |
1 files changed, 8 insertions, 6 deletions
@@ -121,16 +121,18 @@ With._astng_fields = ('expr', 'vars', 'body') While._astng_fields = ('test', 'body', 'orelse',) Yield._astng_fields = ('value',) -STMTS_NODES = (Assign, AugAssign, Assert, Break, Class, Continue, Delete, - Discard, ExceptHandler, Exec, For, From, Function, Global, If, - Import, Pass, Print, Raise, Return, TryExcept, TryFinally, While, - With, Yield) +STMT_NODES = ( + Assign, AugAssign, Assert, Break, Class, Continue, Delete, Discard, + ExceptHandler, Exec, For, From, Function, Global, If, Import, Pass, Print, + Raise, Return, TryExcept, TryFinally, While, With, Yield + ) -ALL_NODES = STMTS_NODES + ( +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 + ) # Node ###################################################################### |
