summaryrefslogtreecommitdiff
path: root/nodes.py
diff options
context:
space:
mode:
authorEmile Anclin <emile.anclin@logilab.fr>2010-03-15 15:03:00 +0100
committerEmile Anclin <emile.anclin@logilab.fr>2010-03-15 15:03:00 +0100
commitbec4ee12322d3f10df273e0764290e41cc6c701b (patch)
tree16cabedcffebe75683efb333b375c415dfe0188f /nodes.py
parent7f263c79e19db7cfc39455e9016c33aa30b02db5 (diff)
downloadastroid-git-bec4ee12322d3f10df273e0764290e41cc6c701b.tar.gz
add a "mixins.py" module and move some classes around.
- move some Mixins to mixins.py - move LookupMixIn and *Name to node_classes It needs more polymorphism, i.e. removing 'isinstance' calls, to move LookupMixIn and LocalsDictNodeNG to mixins.py . --HG-- branch : rebuild
Diffstat (limited to 'nodes.py')
-rw-r--r--nodes.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/nodes.py b/nodes.py
index 804ec041..b7f43713 100644
--- a/nodes.py
+++ b/nodes.py
@@ -38,13 +38,13 @@ on From and Import :
__docformat__ = "restructuredtext en"
from logilab.astng.node_classes import (Arguments, AssAttr, Assert,
- Assign, AugAssign, Backquote, BinOp, BoolOp, Break, CallFunc, Compare,
- Comprehension, Const, Continue, Decorators, DelAttr, Delete,
+ Assign, AssName, AugAssign, Backquote, BinOp, BoolOp, Break, CallFunc, Compare,
+ Comprehension, Const, Continue, Decorators, DelAttr, DelName, Delete,
Dict, Discard, Ellipsis, EmptyNode, ExceptHandler, Exec, ExtSlice, For,
From, Getattr, Global, If, IfExp, Import, Index, Keyword,
- List, ListComp, Pass, Print, Raise, Return, Slice, Subscript,
+ List, ListComp, Name, Pass, Print, Raise, Return, Slice, Subscript,
TryExcept, TryFinally, Tuple, UnaryOp, While, With, Yield, const_factory )
-from logilab.astng.scoped_nodes import AssName, DelName, Name, Module, GenExpr, Lambda, Function, Class
+from logilab.astng.scoped_nodes import Module, GenExpr, Lambda, Function, Class
# astng fields definition ####################################################