chrome/browser/resources/chromeos/accessibility/chromevox/tools/generate_deps.py
def _HasSameContent(filename, content):
  '''Returns true if the given file is readable and has the given content.'''
  try:
    with open(filename) as file:
      return file.read() == content
  except:
    # Ignore all errors and fall back on a safe bet.
    return False
Returns true if the given file is readable and has the given content.
Returns true if the given file is readable and has the given content.
Returns true if the given file is readable and has the given content .
def _HasSameContent(filename, content):
  try:
    with open(filename) as file:
      return file.read() == content
  except:
    return False
def _HasSameContent ( filename , content ) : try : with open ( filename ) as file : return file . read ( ) == content except : return False
Returns true if the given file is readable and has the given content.
Returns true if the given file is readable and has the given content .
'''Returns true if the given file is readable and has the given content.''' # Ignore all errors and fall back on a safe bet.
filename
content