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

Method _is_sun4

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

Source from the content-addressed store, hash-verified

429 return int(self.info['uname_X'].get('NumCPU', 1))
430
431 def _is_sun4(self):
432 return self.info['arch']=='sun4'
433
434 def _is_SUNW(self):
435 return re.match(r'SUNW', self.info['uname_i']) is not None

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected