def _get_status(status):
 if (status not in STATUS_CODES):
  raise ValueError('Unknown status code')
 return STATUS_CODES[status]

def _get_status ( status ) : if ( status not in STATUS_CODES ) : raise ValueError ( 'Unknown status code' ) return STATUS_CODES [ status ]
get status code .