chrome/installer/mac/universalizer.py
def _write_plist(value, path):
    """Writes a macOS property list, API compatibility adapter."""
    with open(path, 'wb') as file:
        try:
            # New API, available since Python 3.4.
            plistlib.dump(value, file)
        except AttributeError:
            # Old API, available (but deprecated) until Python 3.9.
            plistlib.writePlist(value, file)
Writes a macOS property list, API compatibility adapter.
Writes a macOS property list, API compatibility adapter.
Writes a macOS property list API compatibility adapter .
def _write_plist(value, path):
    with open(path, 'wb') as file:
        try:
            plistlib.dump(value, file)
        except AttributeError:
            plistlib.writePlist(value, file)
def _write_plist ( value , path ) : with open ( path , 'wb' ) as file : try : plistlib . dump ( value , file ) except AttributeError : plistlib . writePlist ( value , file )
Writes a macOS property list, API compatibility adapter.
Writes a macOS property list API compatibility adapter .
"""Writes a macOS property list, API compatibility adapter.""" # New API, available since Python 3.4. # Old API, available (but deprecated) until Python 3.9.
value
path