def _ensure_scope(level, global_dict=None, local_dict=None, resolvers=(), target=None, **kwargs):
 return Scope((level + 1), global_dict=global_dict, local_dict=local_dict, resolvers=resolvers, target=target)

def _ensure_scope ( level , global_dict = None , local_dict = None , resolvers = ( ) , target = None , ** kwargs ) : return Scope ( ( level + 1 ) , global_dict = global_dict , local_dict = local_dict , resolvers = resolvers , target = target )
ensure that we are grabbing the correct scope .