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

Function processor

tools/python-3.11.9-amd64/Lib/platform.py:960–970  ·  view source on GitHub ↗

Returns the (true) processor name, e.g. 'amdk6' An empty string is returned if the value cannot be determined. Note that many platforms do not provide this information or simply return the same value as for machine(), e.g. NetBSD does this.

()

Source from the content-addressed store, hash-verified

958 return uname().machine
959
960def processor():
961
962 """ Returns the (true) processor name, e.g. 'amdk6'
963
964 An empty string is returned if the value cannot be
965 determined. Note that many platforms do not provide this
966 information or simply return the same value as for machine(),
967 e.g. NetBSD does this.
968
969 """
970 return uname().processor
971
972### Various APIs for extracting information from sys.version
973

Callers

nothing calls this directly

Calls 1

unameFunction · 0.70

Tested by

no test coverage detected