<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def webcam_detach(self, path):
 """Detaches the emulated USB webcam from the VM in path of type str The host path of the capture device to detach. """

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