def write_encoded_record(self, file_handle, encoded_value):
    'Writes a single encoded record.'
    file_handle.write(encoded_value)
    if self._append_trailing_newlines:
        file_handle.write(b'\n')
Writes a single encoded record.
def write_encoded_record(self, file_handle, encoded_value):
    
    file_handle.write(encoded_value)
    if self._append_trailing_newlines:
        file_handle.write(b'\n')