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

Method __init__

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

Source from the content-addressed store, hash-verified

353 info = None
354
355 def __init__(self):
356 if self.info is not None:
357 return
358 info = command_info(arch='arch',
359 machine='machine')
360 info['sysctl_hw'] = key_value_from_command('sysctl hw', sep='=')
361 self.__class__.info = info
362
363 def _not_impl(self): pass
364

Callers

nothing calls this directly

Calls 2

command_infoFunction · 0.85
key_value_from_commandFunction · 0.85

Tested by

no test coverage detected