code: def put(self, url, data=None, **kwargs):
          
  
          return self.request('put', url, data=data, **kwargs)
docs: Sends a PUT request. Returns :class:`Response` object.
  
          :param url: URL for the new :class:`Request` object.
          :param data: (optional) Dictionary or bytes to send in the body of the :class:`Request`.
          :param **kwargs: Optional arguments that ``request`` takes.