(self, copy_to)
Copy self attributes to the new object.

        :param CFGBase copy_to: The target to copy to.
        :return: None
Copy self attributes to the new object.
Copy self attributes to the new object .
def make_copy(self, copy_to):
        """
        Copy self attributes to the new object.

        :param CFGBase copy_to: The target to copy to.
        :return: None
        """

        for attr, value in self.__dict__.items():
            if attr.startswith('__') and attr.endswith('__'):
                continue
            setattr(copy_to, attr, value)
def make_copy ( self , copy_to ) : for attr , value in self . __dict__ . items ( ) : if attr . startswith ( '__' ) and attr . endswith ( '__' ) : continue setattr ( copy_to , attr , value )