summaryrefslogtreecommitdiff
path: root/numpy/polynomial/polynomial.py
diff options
context:
space:
mode:
authorRoss Barnowski <rossbar@berkeley.edu>2020-07-08 12:34:19 -0700
committerGitHub <noreply@github.com>2020-07-08 14:34:19 -0500
commit1c8efa16b296258e059a334e27e68428cf3cb48b (patch)
tree8b0a594ac82273326a8619b809c819a6b431b006 /numpy/polynomial/polynomial.py
parent8bcf6bc30f33a6a36aea0eee2c72f06516b4b6bb (diff)
downloadnumpy-1c8efa16b296258e059a334e27e68428cf3cb48b.tar.gz
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
Diffstat (limited to 'numpy/polynomial/polynomial.py')
-rw-r--r--numpy/polynomial/polynomial.py1
1 files changed, 0 insertions, 1 deletions
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