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

Method __call__

numpy/core/arrayprint.py:1297–1301  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

1295 raise NotImplementedError
1296
1297 def __call__(self, x):
1298 if isnat(x):
1299 return self._nat
1300 else:
1301 return self._format % self._format_non_nat(x)
1302
1303
1304class DatetimeFormat(_TimelikeFormat):

Callers

nothing calls this directly

Calls 1

_format_non_natMethod · 0.95

Tested by

no test coverage detected