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

Method get_ip

numpy/distutils/cpuinfo.py:330–332  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

328 def _is_rorion(self): return self.__cputype('orion')
329
330 def get_ip(self):
331 try: return self.info.get('MACHINE')
332 except Exception: pass
333 def __machine(self, n):
334 return self.info.get('MACHINE').lower() == 'ip%s' % (n)
335 def _is_IP19(self): return self.__machine(19)

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected