<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def hot_unplug_cpu(self, cpu):
 """Removes a CPU from the machine. in cpu of type int The CPU id to remove. """

        if not isinstance(cpu, baseinteger):
            raise TypeError("cpu can only be an instance of type baseinteger")
        self._call("hotUnplugCPU",
                     in_p=[cpu])