def copy_kwargs(self, kwargs):
    self.kwargs = copy.copy(kwargs)
    for (k, v) in self.kwargs.items():
        if isinstance(v, list):
            self.kwargs[k] = self.unpack_holder(v)
        if hasattr(v, 'held_object'):
            self.kwargs[k] = v.held_object
    for t in ['dependencies', 'link_with', 'include_directories', 'sources']:
        if (t in self.kwargs):
            self.kwargs[t] = self.unpack_holder(self.kwargs[t])
def copy_kwargs(self, kwargs):
    self.kwargs = copy.copy(kwargs)
    for (k, v) in self.kwargs.items():
        if isinstance(v, list):
            self.kwargs[k] = self.unpack_holder(v)
        if hasattr(v, 'held_object'):
            self.kwargs[k] = v.held_object
    for t in ['dependencies', 'link_with', 'include_directories', 'sources']:
        if (t in self.kwargs):
            self.kwargs[t] = self.unpack_holder(self.kwargs[t])