summaryrefslogtreecommitdiff
path: root/astroid/mixins.py
diff options
context:
space:
mode:
Diffstat (limited to 'astroid/mixins.py')
-rw-r--r--astroid/mixins.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/astroid/mixins.py b/astroid/mixins.py
index 87834f10..0882268f 100644
--- a/astroid/mixins.py
+++ b/astroid/mixins.py
@@ -59,8 +59,8 @@ class FilterStmtsMixin(object):
return self
def ass_type(self):
- warnings.warn('%s.ass_type() is deprecated, '
- 'use %s.assign_type() instead.'
+ 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)
return self.assign_type()
@@ -72,8 +72,8 @@ class AssignTypeMixin(object):
return self
def ass_type(self):
- warnings.warn('%s.ass_type() is deprecated, '
- 'use %s.assign_type() instead.'
+ 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)
return self.assign_type()
@@ -95,8 +95,8 @@ class ParentAssignTypeMixin(AssignTypeMixin):
return self.parent.assign_type()
def ass_type(self):
- warnings.warn('%s.ass_type() is deprecated, '
- 'use %s.assign_type() instead.'
+ 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)
return self.assign_type()