chrome/installer/mac/universalizer.py
def _read_plist(path):
    """Reads a macOS property list, API compatibility adapter."""
    with open(path, 'rb') as file:
        try:
            # New API, available since Python 3.4.
            return plistlib.load(file)
        except AttributeError:
            # Old API, available (but deprecated) until Python 3.9.
            return plistlib.readPlist(file)
Reads a macOS property list, API compatibility adapter.
Reads a macOS property list, API compatibility adapter.
Reads a macOS property list API compatibility adapter .
def _read_plist(path):
    with open(path, 'rb') as file:
        try:
            return plistlib.load(file)
        except AttributeError:
            return plistlib.readPlist(file)
def _read_plist ( path ) : with open ( path , 'rb' ) as file : try : return plistlib . load ( file ) except AttributeError : return plistlib . readPlist ( file )
Reads a macOS property list, API compatibility adapter.
Reads a macOS property list API compatibility adapter .
"""Reads a macOS property list, API compatibility adapter.""" # New API, available since Python 3.4. # Old API, available (but deprecated) until Python 3.9.
path