MCPcopy Create free account
hub / github.com/eshirazi/python-with-braces / dist

Function dist

Lib/platform.py:347–363  ·  view source on GitHub ↗

Tries to determine the name of the Linux OS distribution name. The function first looks for a distribution release file in /etc and then reverts to _dist_try_harder() in case no suitable files are found. Returns a tuple (distname,version,id) which default to the

(distname='',version='',id='',

         supported_dists=_supported_dists)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

platformFunction · 0.85

Calls 1

linux_distributionFunction · 0.85

Tested by

no test coverage detected