def parse(json_string):
 try:
  json_data = json.loads(json_string)
 except:
  raise SchemaParseException(('Error parsing JSON: %s' % json_string))
 names = Names()
 return make_avsc_object(json_data, names)

def parse ( json_string ) : try : json_data = json . loads ( json_string ) except : raise SchemaParseException ( ( 'Error parsing JSON: %s' % json_string ) ) names = Names ( ) return make_avsc_object ( json_data , names )
given a python-like conditional statement .