diff options
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""" |