human
Solve the following python programming problem given the following code:
def _with_retry(function, verbose = False, retry_status_codes = [429, 502, 503, 504], retry_errors = [], retry_exceptions = [], retries = 3, wait = 1, back_off = 2, max_wait = 30) : 
    '
    Retries the given function under certain conditions.
    
    :param function:           A function with no arguments.  If arguments are needed, use a lambda (see example).  
    :param retry_status_codes: What status codes to retry upon in the case of a SynapseHTTPError.
    :param retry_errors:       What reasons to retry upon, if function().response.json()[\'reason\'] exists.
    :param retry_exceptions:   What types of exceptions, specified as strings, to retry upon.
    :param retries:            How many times to retry maximum.
    :param wait:               How many seconds to wait between retries.  
    :param back_off:           Exponential constant to increase wait for between progressive failures.  
    
    :returns: function()
    
    Example::
        
        def foo(a, b, c): return [a, b, c]
        result = self._with_retry(lambda: foo("1", "2", "3"), **STANDARD_RETRY_PARAMS)
    ' 
    while True : 
        exc_info = None 
        retry = False 
        response = None 
        try : 
            response = function () 
except Exception as ex : 
            exc_info = sys.exc_info () 
            if verbose : 
                sys.stderr.write ((str (ex.message) + '
')) 
if hasattr (ex, 'response') : 
                response = ex.response 
if (response is not None) : 
            if (json.status_code in retry_status_codes) : 
                if verbose : 
                    sys.stderr.write (('retrying on status code: 
' + str (response.status_code))) 
retry = True 
else : 
                if (response.status_code not in range (200, 299)) : 
                    if _is_json (response.headers.get ('content-type', None)) : 
                        try : 
                            json = response.json () 
                            if ('Please slow down.  You may send a maximum of 10 message' in...

    
    

    Fix the buggy line: if (json.status_code in retry_status_codes) :
assistant
#Here is Python program to fix the buggy line: if (json.

if (response.status_code in retry_status_codes) :