code: def hot_unplug_cpu(self, cpu):
          
          if not isinstance(cpu, baseinteger):
              raise TypeError("cpu can only be an instance of type baseinteger")
          self._call("hotUnplugCPU",
                       in_p=[cpu])
docs: Removes a CPU from the machine.
  
          in cpu of type int
              The CPU id to remove.