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

Function processor

Lib/platform.py:1060–1070  ·  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

1058 return uname().machine
1059
1060def processor():
1061
1062 """ Returns the (true) processor name, e.g. 'amdk6'
1063
1064 An empty string is returned if the value cannot be
1065 determined. Note that many platforms do not provide this
1066 information or simply return the same value as for machine(),
1067 e.g. NetBSD does this.
1068
1069 """
1070 return uname().processor
1071
1072### Various APIs for extracting information from sys.version
1073

Callers

nothing calls this directly

Calls 1

unameFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…