diff options
author | Claudiu Popa <pcmanticore@gmail.com> | 2018-05-24 10:15:12 +0200 |
---|---|---|
committer | Claudiu Popa <pcmanticore@gmail.com> | 2018-05-24 10:18:52 +0200 |
commit | aae759fea443f8059c37b6d9dc833e0a2100d231 (patch) | |
tree | 5b35ddb175c2f56f29087631a0cef6fabcf996eb /astroid/mixins.py | |
parent | 2c655de34603e5a0f88b369d3e4b68556fdb0641 (diff) | |
download | astroid-git-aae759fea443f8059c37b6d9dc833e0a2100d231.tar.gz |
kill aliases scheduled for removal
Diffstat (limited to 'astroid/mixins.py')
-rw-r--r-- | astroid/mixins.py | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/astroid/mixins.py b/astroid/mixins.py index be5352f0..1790a4fc 100644 --- a/astroid/mixins.py +++ b/astroid/mixins.py @@ -8,8 +8,6 @@ """This module contains some mixins for the different nodes. """ -import warnings - from astroid import decorators from astroid import exceptions @@ -48,26 +46,12 @@ class FilterStmtsMixin(object): def assign_type(self): return self - def ass_type(self): - warnings.warn('%s.ass_type() is deprecated and slated for removal ' - 'in astroid 2.0, use %s.assign_type() instead.' - % (type(self).__name__, type(self).__name__), - PendingDeprecationWarning, stacklevel=2) - return self.assign_type() - class AssignTypeMixin(object): def assign_type(self): return self - def ass_type(self): - warnings.warn('%s.ass_type() is deprecated and slated for removal ' - 'in astroid 2.0, use %s.assign_type() instead.' - % (type(self).__name__, type(self).__name__), - PendingDeprecationWarning, stacklevel=2) - return self.assign_type() - def _get_filtered_stmts(self, lookup_node, node, _stmts, mystmt): """method used in filter_stmts""" if self is mystmt: @@ -84,13 +68,6 @@ class ParentAssignTypeMixin(AssignTypeMixin): def assign_type(self): return self.parent.assign_type() - def ass_type(self): - warnings.warn('%s.ass_type() is deprecated and slated for removal ' - 'in astroid 2.0, use %s.assign_type() instead.' - % (type(self).__name__, type(self).__name__), - PendingDeprecationWarning, stacklevel=2) - return self.assign_type() - class ImportFromMixin(FilterStmtsMixin): """MixIn for From and Import Nodes""" |