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

Method __repr__

numpy/polynomial/_polybase.py:334–340  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

332 self._symbol = symbol
333
334 def __repr__(self):
335 coef = repr(self.coef)[6:-1]
336 domain = repr(self.domain)[6:-1]
337 window = repr(self.window)[6:-1]
338 name = self.__class__.__name__
339 return (f"{name}({coef}, domain={domain}, window={window}, "
340 f"symbol='{self.symbol}')")
341
342 def __format__(self, fmt_str):
343 if fmt_str == '':

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected