summaryrefslogtreecommitdiff
path: root/numpy/polynomial/_polybase.py
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2014-08-04 14:32:34 -0600
committerCharles Harris <charlesr.harris@gmail.com>2014-08-04 14:32:34 -0600
commit192f025ce5280dffbdd361e3ee0645aa08764156 (patch)
tree5d396aa22ec11fcb3000600d8e43d1ee1bfec7f6 /numpy/polynomial/_polybase.py
parent74bd706d6fccb0512b276a038274680fd6568b75 (diff)
parentf9c6398d4f021e9509e19157a0d5ee72b27a8c2a (diff)
downloadnumpy-192f025ce5280dffbdd361e3ee0645aa08764156.tar.gz
Merge pull request #4924 from charris/pep8-numpy-polynomial
Pep8 numpy polynomial
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):