MCPcopy Index your code
hub / github.com/python/cpython / get_win32

Method get_win32

Lib/platform.py:826–832  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

824 return func() or ''
825
826 def get_win32():
827 try:
828 manufacturer, caption = _wmi_query('CPU', 'Manufacturer', 'Caption')
829 except OSError:
830 return os.environ.get('PROCESSOR_IDENTIFIER', _get_machine_win32())
831 else:
832 return f'{caption}, {manufacturer}'
833
834 def get_OpenVMS():
835 try:

Callers

nothing calls this directly

Calls 3

_wmi_queryFunction · 0.85
_get_machine_win32Function · 0.85
getMethod · 0.45

Tested by

no test coverage detected