summaryrefslogtreecommitdiff
path: root/astroid/mixins.py
diff options
context:
space:
mode:
authorCeridwen <ceridwenv@gmail.com>2015-07-08 16:13:02 -0400
committerCeridwen <ceridwenv@gmail.com>2015-07-08 16:13:02 -0400
commit8abf328539e0e5f1dbafe70b773bfebd28afca77 (patch)
tree51cedaf91c02961f2fcdf4cc05c367079e2e15e0 /astroid/mixins.py
parent5e09987dae3ba174fc0b6a5e64f3cf242b63a836 (diff)
downloadastroid-git-8abf328539e0e5f1dbafe70b773bfebd28afca77.tar.gz
Node constructors almost finished except for two bugs
Diffstat (limited to 'astroid/mixins.py')
-rw-r--r--astroid/mixins.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/astroid/mixins.py b/astroid/mixins.py
index 185ff16c..bd63700f 100644
--- a/astroid/mixins.py
+++ b/astroid/mixins.py
@@ -55,13 +55,13 @@ class FilterStmtsMixin(object):
return [node], True
return _stmts, False
- def ass_type(self):
+ def assign_type(self):
return self
class AssignTypeMixin(object):
- def ass_type(self):
+ def assign_type(self):
return self
def _get_filtered_stmts(self, lookup_node, node, _stmts, mystmt):
@@ -77,11 +77,11 @@ class AssignTypeMixin(object):
class ParentAssignTypeMixin(AssignTypeMixin):
- def ass_type(self):
- return self.parent.ass_type()
+ def assign_type(self):
+ return self.parent.assign_type()
-class FromImportMixIn(FilterStmtsMixin):
+class ImportFromMixin(FilterStmtsMixin):
"""MixIn for From and Import Nodes"""
def _infer_name(self, frame, name):