parameters: (msg)
docstring: Display an error message and terminate.
  
      msg is the text of the error message.
docstring_summary: Display an error message and terminate.
docstring_tokens: Display an error message and terminate .
function: def error(msg):
      """Display an error message and terminate.
  
      msg is the text of the error message.
      """
      sys.stderr.write(format("Error: " + msg) + "\n")
      sys.exit(1)
function_tokens: def error ( msg ) : sys . stderr . write ( format ( "Error: " + msg ) + "\n" ) sys . exit ( 1 )