PyDocs

Nav

Generic Operating System Services

mac_ver

platform

function (source)
  • mac_ver(release='', versioninfo=('', '', ''), machine='')
Get macOS version information and return it as tuple (release,
versioninfo, machine) with versioninfo being a tuple (version,
dev_stage, non_release_version).

Entries which cannot be determined are set to the parameter values
which default to ''. All tuple entries are strings.
0 Examples
No examples for platform/mac_ver.
See Also
No see-alsos for platform/mac_ver
0 Notes
No notes for mac_ver