code: def get_params(self, tid):
          
          try:
              params = self.get_params_stack(tid)[-1]
          except IndexError:
              msg = "Hooked function called from thread %d already returned"
              raise IndexError(msg % tid)
          return params
docs: Returns the parameters found in the stack when the hooked function
          was last called by this thread.
  
          @type  tid: int
          @param tid: Thread global ID.
  
          @rtype:  tuple( arg, arg, arg... )
          @return: Tuple of arguments.