(result, func, argtuple)
return errcheck_just_free(result, func, argtuple)
Wraps errcheck_just_free

    Raises TopologicalError if result is NULL.
Wraps errcheck_just_free
Wraps errcheck_just_free
def errcheck_null_exception(result, func, argtuple):
    """Wraps errcheck_just_free

    Raises TopologicalError if result is NULL.
    """
    if not result:
        raise TopologicalError(
            "The operation '{0}' could not be performed."
            "Likely cause is invalidity of the geometry.".format(
                func.__name__))
    return errcheck_just_free(result, func, argtuple)
def errcheck_null_exception ( result , func , argtuple ) : if not result : raise TopologicalError ( "The operation '{0}' could not be performed." "Likely cause is invalidity of the geometry." . format ( func . __name__ ) ) return errcheck_just_free ( result , func , argtuple )