parameters: (body_vars, orelse_vars, symbol_names)
docstring: Verifies variables manipulated by a conditional for consistency.
docstring_summary: Verifies variables manipulated by a conditional for consistency.
docstring_tokens: Verifies variables manipulated by a conditional for consistency .
function: def _verify_tf_cond_vars(body_vars, orelse_vars, symbol_names):
    """Verifies variables manipulated by a conditional for consistency."""
    named_vars = zip(symbol_names, body_vars, orelse_vars)
  
    for name, body_var, orelse_var in named_vars:
      try:
        nest.assert_same_structure(body_var, orelse_var, expand_composites=True)
      except (ValueError, TypeError) as e:
        raise TypeError(
            "'{}' must have the same nested structure in the main and else"
            ' branches:\n\n{}'.format(name, str(e))) from e
      nest.map_structure(
          functools.partial(verify_single_cond_var, name), body_var, orelse_var)
function_tokens: def _verify_tf_cond_vars ( body_vars , orelse_vars , symbol_names ) : named_vars = zip ( symbol_names , body_vars , orelse_vars ) for name , body_var , orelse_var in named_vars : try : nest . assert_same_structure ( body_var , orelse_var , expand_composites = True ) except ( ValueError , TypeError ) as e : raise TypeError ( "'{}' must have the same nested structure in the main and else" ' branches:\n\n{}' . format ( name , str ( e ) ) ) from e nest . map_structure ( functools . partial ( verify_single_cond_var , name ) , body_var , orelse_var )