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

Method _loose_call

numpy/lib/_iotools.py:670–674  ·  view source on GitHub ↗
(self, value)

Source from the content-addressed store, hash-verified

668 self._initial_default = default
669
670 def _loose_call(self, value):
671 try:
672 return self.func(value)
673 except ValueError:
674 return self.default
675
676 def _strict_call(self, value):
677 try:

Callers 1

genfromtxtFunction · 0.80

Calls 1

funcMethod · 0.45

Tested by

no test coverage detected