Assume the identity of another target. This can be useful to make the
        global target assume the identity of an ELF executable.

        Arguments:
            other(:class:`Target`): The target whose identity to assume.

        Example:
            >>> from pwny import *
            >>> target.assume(ELF('my-executable'))

def assume(self, other):
        """
        Assume the identity of another target. This can be useful to make the
        global target assume the identity of an ELF executable.

        Arguments:
            other(:class:`Target`): The target whose identity to assume.

        Example:
            >>> from pwny import *
            >>> target.assume(ELF('my-executable'))
        """

        self._arch = other._arch
        self._bits = other._bits
        self._endian = other._endian
        self._mode = other._mode