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

Function system

Lib/platform.py:1014–1021  ·  view source on GitHub ↗

Returns the system/OS name, e.g. 'Linux', 'Windows' or 'Java'. An empty string is returned if the value cannot be determined.

()

Source from the content-addressed store, hash-verified

1012### Direct interfaces to some of the uname() return values
1013
1014def system():
1015
1016 """ Returns the system/OS name, e.g. 'Linux', 'Windows' or 'Java'.
1017
1018 An empty string is returned if the value cannot be determined.
1019
1020 """
1021 return uname().system
1022
1023def node():
1024

Callers 1

mainFunction · 0.90

Calls 1

unameFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…