def write(self, arc_record):
if not self.version:<EOL><INDENT>self.version = <NUM_LIT:2><EOL><DEDENT>if not self.header_written:<EOL><INDENT>self.header_written = True<EOL>self._write_header()<EOL><DEDENT>arc_record.write_to(self.fileobj, self.version)<EOL>self.fileobj.write("<STR_LIT:\n>")<EOL>
Writes out the given arc record to the file