code: def _capture(self, args, kwargs):
          '''Store the input to the captured function'''
          self.called = self.called + 1
          self.method_args.append(args)
          self.named_method_args.append(kwargs)
          self.never_called = Falsf _capture(self, args, kwargs):
          '''Store the input to the captured function'''
          self.called = self.called + 1
          self.method_args.append(args)
          self.named_method_args.append(kwargs)
          self.never_called = False
docs: Store the input to the captured function