code: def read(self, fp):
          "Reads a dictionary from an input stream."
          base_size = struct.unpack(str("=I"), fp.read(4))[0]
          self._units.fromfile(fp, base_sizef read(self, fp):
          "Reads a dictionary from an input stream."
          base_size = struct.unpack(str("=I"), fp.read(4))[0]
          self._units.fromfile(fp, base_size)
docs: Reads a dictionary from an input stream.