MCPcopy Index your code
hub / github.com/RustPython/RustPython / system

Function system

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

1064### Direct interfaces to some of the uname() return values
1065
1066def system():
1067
1068 """ Returns the system/OS name, e.g. 'Linux', 'Windows' or 'Java'.
1069
1070 An empty string is returned if the value cannot be determined.
1071
1072 """
1073 return uname().system
1074
1075def node():
1076

Callers

nothing calls this directly

Calls 1

unameFunction · 0.70

Tested by

no test coverage detected