code: def update(self, func, **kw):
          "Update the signature of func with the data in self"
          func.__name__ = self.name
          func.__doc__ = getattr(self, 'doc', None)
          func.__dict__ = getattr(self, 'dict', {})
          func.__defaults__ = getattr(self, 'defaults', ())
          func.__kwdefaults__ = getattr(self, 'kwonlydefaults', None)
          func.__annotations__ = getattr(self, 'annotations', None)
          callermodule = sys._getframe(3).f_globals.get('__name__', '?')
          func.__module__ = getattr(self, 'module', callermodule)
          func.__dict__.update(kwf update(self, func, **kw):
          "Update the signature of func with the data in self"
          func.__name__ = self.name
          func.__doc__ = getattr(self, 'doc', None)
          func.__dict__ = getattr(self, 'dict', {})
          func.__defaults__ = getattr(self, 'defaults', ())
          func.__kwdefaults__ = getattr(self, 'kwonlydefaults', None)
          func.__annotations__ = getattr(self, 'annotations', None)
          callermodule = sys._getframe(3).f_globals.get('__name__', '?')
          func.__module__ = getattr(self, 'module', callermodule)
          func.__dict__.update(kw)
docs: Update the signature of func with the data in self