From 1c8efa16b296258e059a334e27e68428cf3cb48b Mon Sep 17 00:00:00 2001 From: Ross Barnowski Date: Wed, 8 Jul 2020 12:34:19 -0700 Subject: MAINT: Remove nickname from polynomial classes. (gh-16589) * MAINT: Remove nickname from polynomial classes. The convenience classes derived from ABCPolyBase had a nickname attribute that was only used internally in the previous implementation of __str__. After the overhaul of __str__ in #15666, this attr is no longer used. * DOC: Add release note. Add release note to notify users of removal of the abstract property, and highlight users that may be affected by the change. * DOC: fixed rST in release note --- numpy/polynomial/polynomial.py | 1 - 1 file changed, 1 deletion(-) (limited to 'numpy/polynomial/polynomial.py') diff --git a/numpy/polynomial/polynomial.py b/numpy/polynomial/polynomial.py index 97f1e7dc0..83693441f 100644 --- a/numpy/polynomial/polynomial.py +++ b/numpy/polynomial/polynomial.py @@ -1490,7 +1490,6 @@ class Polynomial(ABCPolyBase): _fromroots = staticmethod(polyfromroots) # Virtual properties - nickname = 'poly' domain = np.array(polydomain) window = np.array(polydomain) basis_name = None -- cgit v1.2.1