code: def _update_staticmethod(self, oldsm, newsm):
          
          # While we can't modify the staticmethod object itself (it has no
          # mutable attributes), we *can* extract the underlying function
          # (by calling __get__(), which returns it) and update it in-place.
          # We don't have the class available to pass to __get__() but any
          # object except None will do.
          self._update(None, None, oldsm.__get__(0), newsm.__get__(0))
docs: Update a staticmethod update.