summaryrefslogtreecommitdiff
path: root/numpy/polynomial/_polybase.py
diff options
context:
space:
mode:
authorEric Wieser <wieser.eric@gmail.com>2017-08-10 11:04:18 -0500
committerEric Wieser <wieser.eric@gmail.com>2017-08-10 12:26:20 -0500
commitcc781ee138982335f9a7986a65ac05ee938f9b14 (patch)
tree6e36051fbb6987721d87b737409671b25574a92e /numpy/polynomial/_polybase.py
parent9e05bc3f5197ec465362f651b73f01b6476625d5 (diff)
downloadnumpy-cc781ee138982335f9a7986a65ac05ee938f9b14.tar.gz
ENH: Show domain and window as kwargs in repr
Also, update the docs with this new repr
Diffstat (limited to 'numpy/polynomial/_polybase.py')
-rw-r--r--numpy/polynomial/_polybase.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/polynomial/_polybase.py b/numpy/polynomial/_polybase.py
index 96ca20836..78392d2a2 100644
--- a/numpy/polynomial/_polybase.py
+++ b/numpy/polynomial/_polybase.py
@@ -260,7 +260,7 @@ class ABCPolyBase(object):
self.window = window
def __repr__(self):
- format = "%s(%s, %s, %s)"
+ format = "%s(%s, domain=%s, window=%s)"
coef = repr(self.coef)[6:-1]
domain = repr(self.domain)[6:-1]
window = repr(self.window)[6:-1]