MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / _get_machine_win32

Function _get_machine_win32

tools/python-3.11.9-amd64/Lib/platform.py:722–732  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

720
721
722def _get_machine_win32():
723 # Try to use the PROCESSOR_* environment variables
724 # available on Win XP and later; see
725 # http://support.microsoft.com/kb/888731 and
726 # http://www.geocities.com/rick_lively/MANUALS/ENV/MSWIN/PROCESSI.HTM
727
728 # WOW64 processes mask the native architecture
729 return (
730 os.environ.get('PROCESSOR_ARCHITEW6432', '') or
731 os.environ.get('PROCESSOR_ARCHITECTURE', '')
732 )
733
734
735class _Processor:

Callers 2

get_win32Method · 0.85
unameFunction · 0.85

Calls 1

getMethod · 0.45

Tested by

no test coverage detected