summaryrefslogtreecommitdiff
path: root/numpy/polynomial/_polybase.py
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/polynomial/_polybase.py')
-rw-r--r--numpy/polynomial/_polybase.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/numpy/polynomial/_polybase.py b/numpy/polynomial/_polybase.py
index 23608c74a..234b509aa 100644
--- a/numpy/polynomial/_polybase.py
+++ b/numpy/polynomial/_polybase.py
@@ -374,7 +374,7 @@ class ABCPolyBase(object):
return quo, rem
def __pow__(self, other):
- coef = self._pow(self.coef, other, maxpower = self.maxpower)
+ coef = self._pow(self.coef, other, maxpower=self.maxpower)
res = self.__class__(coef, self.domain, self.window)
return res
@@ -721,8 +721,6 @@ class ABCPolyBase(object):
y = self(x)
return x, y
-
-
@classmethod
def fit(cls, x, y, deg, domain=None, rcond=None, full=False, w=None,
window=None):