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

Method _is_Power_Macintosh

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

Source from the content-addressed store, hash-verified

366 return int(self.info['sysctl_hw'].get('hw.ncpu', 1))
367
368 def _is_Power_Macintosh(self):
369 return self.info['sysctl_hw']['hw.machine']=='Power Macintosh'
370
371 def _is_i386(self):
372 return self.info['arch']=='i386'

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected