MCPcopy Create free account
hub / github.com/pydata/numexpr / winreg_raw_arch_string

Method winreg_raw_arch_string

numexpr3/cpuinfo.py:202–206  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

200
201 @staticmethod
202 def winreg_raw_arch_string():
203 key = winreg.OpenKey(winreg.HKEY_LOCAL_MACHINE, r"SYSTEM\CurrentControlSet\Control\Session Manager\Environment")
204 raw_arch_string = winreg.QueryValueEx(key, "PROCESSOR_ARCHITECTURE")[0]
205 winreg.CloseKey(key)
206 return raw_arch_string
207
208 @staticmethod
209 def winreg_hz_actual():

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected