MCPcopy Index your code
hub / github.com/numpy/numpy / iterupgrade

Method iterupgrade

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

Source from the content-addressed store, hash-verified

752 return self.upgrade(value)
753
754 def iterupgrade(self, value):
755 self._checked = True
756 if not hasattr(value, '__iter__'):
757 value = (value,)
758 _strict_call = self._strict_call
759 try:
760 for _m in value:
761 _strict_call(_m)
762 except ValueError:
763 self._do_upgrade()
764 self.iterupgrade(value)
765
766 def update(self, func, default=None, testing_value=None,
767 missing_values='', locked=False):

Callers 1

genfromtxtFunction · 0.80

Calls 1

_do_upgradeMethod · 0.95

Tested by

no test coverage detected