<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def delete(self, r=None, w=None, dw=None, pr=None, pw=None, timeout=None):
 """ Delete this object from Riak. :param r: R-value, wait for this many partitions to read object before performing the put :type r: integer :param w: W-value, wait for this many partitions to respond before returning to client. :type w: integer :param dw: DW-value, wait for this many partitions to confirm the write before returning to client. :type dw: integer :param pr: PR-value, require this many primary partitions to be available before performing the read that precedes the put :type pr: integer :param pw: PW-value, require this many primary partitions to be available before performing the put :type pw: integer :param timeout: a timeout value in milliseconds :type timeout: int :rtype: :class:`RiakObject` """


        self.client.delete(self, r=r, w=w, dw=dw, pr=pr, pw=pw,
                           timeout=timeout)
        self.clear()
        return self