code: def StdDoubleVector_2_seq(vec, seq=None):
      
      if seq is None:
          seq = []
      if not isinstance(vec, StdDoubleVector):
          raise TypeError('vec must be a tango.StdDoubleVector')
      for e in vec:
          seq.append(float(e))
      return seq
docs: Converts a :class:`tango.StdDoubleVector` to a python sequence<float>
  
          :param seq: the :class:`tango.StdDoubleVector`
          :type seq: :class:`tango.StdDoubleVector`
          :param vec: (optional, default is None) a python sequence to be filled.
                       If None is given, a new list is created
          :return: a python sequence filled with the same contents as seq
          :rtype: sequence<float>