rtree/core.py
def check_void_done(result, func, cargs):
    "Error checking for void* returns that might be empty with no error"
    if rt.Error_GetErrorCount():
        s = rt.Error_GetLastErrorMsg().decode()
        msg = 'Error in "%s": %s' % (func.__name__, s)
        rt.Error_Reset()
        raise RTreeError(msg)
    return result
def check_void_done(result, func, cargs):
    "Error checking for void* returns that might be empty with no error"
    if rt.Error_GetErrorCount():
        s = rt.Error_GetLastErrorMsg().decode()
        msg = 'Error in "%s": %s' % (func.__name__, s)
        rt.Error_Reset()
        raise RTreeError(msg)
    return result
def check_void_done ( result , func , cargs ) : if rt . Error_GetErrorCount ( ) : s = rt . Error_GetLastErrorMsg ( ) . decode ( ) msg = 'Error in "%s": %s' % ( func . __name__ , s ) rt . Error_Reset ( ) raise RTreeError ( msg ) return result
Error checking for void* returns that might be empty with no error
Error checking for void * returns that might be empty with no error