chrome/installer/mac/signing/commands.py
def macos_version():
    """Determines the macOS version of the running system.

    Returns:
        A list containing one element for each component of the version number,
        such as [10, 15, 6] and [11, 0].
    """
    return [int(x) for x in platform.mac_ver()[0].split('.')]
Determines the macOS version of the running system.

    Returns:
        A list containing one element for each component of the version number,
        such as [10, 15, 6] and [11, 0].
    
Determines the macOS version of the running system.
Determines the macOS version of the running system .
def macos_version():
    return [int(x) for x in platform.mac_ver()[0].split('.')]
def macos_version ( ) : return [ int ( x ) for x in platform . mac_ver ( ) [ 0 ] . split ( '.' ) ]
Determines the macOS version of the running system.
Determines the macOS version of the running system .
"""Determines the macOS version of the running system.

    Returns:
        A list containing one element for each component of the version number,
        such as [10, 15, 6] and [11, 0].
    """
A list containing one element for each component of the version number,
such as [10, 15, 6] and [11, 0].
A list containing one element for each component of the version number such as [ 10 15 6 ] and [ 11 0 ] .