code: def _unstructure_seq(self, seq):
          
          # We can reuse the sequence class, so tuples stay tuples.
          dispatch = self._unstructure_func.dispatch
          return seq.__class__(dispatch(e.__class__)(e) for e in seq)
docs: Convert a sequence to primitive equivalents.