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

Method __machine

numpy/distutils/cpuinfo.py:376–377  ·  view source on GitHub ↗
(self, n)

Source from the content-addressed store, hash-verified

374 return self.info['arch']=='ppc'
375
376 def __machine(self, n):
377 return self.info['machine'] == 'ppc%s'%n
378 def _is_ppc601(self): return self.__machine(601)
379 def _is_ppc602(self): return self.__machine(602)
380 def _is_ppc603(self): return self.__machine(603)

Callers 15

_is_ppc601Method · 0.95
_is_ppc602Method · 0.95
_is_ppc603Method · 0.95
_is_ppc603eMethod · 0.95
_is_ppc604Method · 0.95
_is_ppc604eMethod · 0.95
_is_ppc620Method · 0.95
_is_ppc630Method · 0.95
_is_ppc740Method · 0.95
_is_ppc7400Method · 0.95
_is_ppc7450Method · 0.95
_is_ppc750Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected