code: def dump(self, f, indent=''):
          
          if self.__unit is None:
              print(("%s%s %s" % (indent, self.__name, self.__value)).rstrip(), file=f)
          else:
              print(("%s%s [%s] %s" % (indent, self.__name, self.__unit, self.__value)).rstrip(), file=f)
docs: Dump this keyword to a file-like object