MCPcopy
hub / github.com/pandas-dev/pandas / is_platform_linux

Function is_platform_linux

pandas/compat/__init__.py:82–91  ·  view source on GitHub ↗

Checking if the running platform is linux. Returns ------- bool True if the running platform is linux.

()

Source from the content-addressed store, hash-verified

80
81
82def is_platform_linux() -> bool:
83 """
84 Checking if the running platform is linux.
85
86 Returns
87 -------
88 bool
89 True if the running platform is linux.
90 """
91 return sys.platform == "linux"
92
93
94def is_platform_mac() -> bool:

Callers 1

test_complibsFunction · 0.90

Calls

no outgoing calls

Tested by 1

test_complibsFunction · 0.72