diff options
author | Emile Anclin <emile.anclin@logilab.fr> | 2009-09-07 10:40:45 +0200 |
---|---|---|
committer | Emile Anclin <emile.anclin@logilab.fr> | 2009-09-07 10:40:45 +0200 |
commit | fac2b3139063ae88e99b207e59be9945912484ee (patch) | |
tree | a4ae156fbe36e8d46dc4445076fc69c7461eb029 /protocols.py | |
parent | 8d751495a31b40d6fb0ccffb3b1349c5fceca9ec (diff) | |
download | astroid-git-fac2b3139063ae88e99b207e59be9945912484ee.tar.gz |
[R] centralize class extensions in nodes.py
Diffstat (limited to 'protocols.py')
-rw-r--r-- | protocols.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols.py b/protocols.py index ca2ff44d..a633f46d 100644 --- a/protocols.py +++ b/protocols.py @@ -27,7 +27,7 @@ __doctype__ = "restructuredtext en" from logilab.astng import InferenceError, NoDefault, _nodes as nodes from logilab.astng.infutils import copy_context, unpack_infer, \ raise_if_nothing_infered, yes_if_nothing_infered, Instance, Generator, YES -from logilab.astng.nodes import Const, Class, Function, Tuple, List, \ +from logilab.astng._nodes import Const, Class, Function, Tuple, List, \ const_factory # unary operations ############################################################ @@ -314,7 +314,7 @@ def end_ass_type(self): return self # XXX if you add ass_type to a class, you should probably modify -# lookup.filter_stmts around line :: +# lookup.LookupMixin.filter_stmts around line :: # # if ass_type is mystmt and not isinstance(ass_type, (nodes.Class, ...)): nodes.Arguments.ass_type = end_ass_type |