(self, debug, pid)
Removes the API hook from the given process and module.

        @warning: Do not call from an API hook callback.

        @type  debug: L{Debug}
        @param debug: Debug object.

        @type  pid: int
        @param pid: Process ID.
Removes the API hook from the given process and module.
Removes the API hook from the given process and module .
def unhook(self, debug, pid):
        """
        Removes the API hook from the given process and module.

        @warning: Do not call from an API hook callback.

        @type  debug: L{Debug}
        @param debug: Debug object.

        @type  pid: int
        @param pid: Process ID.
        """
        try:
            hook = self.__hook[pid]
        except KeyError:
            return
        label = "%s!%s" % (self.__modName, self.__procName)
        hook.unhook(debug, pid, label)
        del self.__hook[pid]
def unhook ( self , debug , pid ) : try : hook = self . __hook [ pid ] except KeyError : return label = "%s!%s" % ( self . __modName , self . __procName ) hook . unhook ( debug , pid , label ) del self . __hook [ pid ]