def flatten_list_bytes(list_of_data):
 if (not PY34):
  list_of_data = ((bytes(data) if isinstance(data, memoryview) else data) for data in list_of_data)
 return ''.join(list_of_data)

def flatten_list_bytes ( list_of_data ) : if ( not PY34 ) : list_of_data = ( ( bytes ( data ) if isinstance ( data , memoryview ) else data ) for data in list_of_data ) return '' . join ( list_of_data )
concatenate a sequence of bytes-like objects .