major_version

Return the major version of the current OS distribution, as a string, if provided. Otherwise, the empty string is returned. The major version is the first part of the dot-separated version string. For a description of the *best* parameter, see the :func:distro.version method.

dstring
major_version
(
bool best = false
)

Meta