def read_units(self, fid):
lin = self.read_line(fid)                   <EOL>while lin[<NUM_LIT:0>] != '<STR_LIT::>':<EOL><INDENT>parts = lin.split()<EOL>if parts[<NUM_LIT:0>]=='<STR_LIT>':<EOL><INDENT>self.mass = float(parts[<NUM_LIT:1>])<EOL><DEDENT>elif parts[<NUM_LIT:0>]=='<STR_LIT>':<EOL><INDENT>self.length = float(parts[<NUM_LIT:1>])<EOL><DEDENT>elif parts[<NUM_LIT:0>]=='<STR_LIT>':<EOL><INDENT>self.angle = parts[<NUM_LIT:1>]<EOL><DEDENT>lin = self.read_line(fid)<EOL><DEDENT>return lin<EOL>
Read units from an acclaim skeleton file stream.