MCPcopy Create free account
hub / github.com/numpy/numpy / __repr__

Method __repr__

numpy/lib/polynomial.py:1260–1263  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1258 return NX.asarray(self.coeffs)
1259
1260 def __repr__(self):
1261 vals = repr(self.coeffs)
1262 vals = vals[6:-1]
1263 return "poly1d(%s)" % vals
1264
1265 def __len__(self):
1266 return self.order

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected