@contextlib.contextmanager
def obj_target_cell(obj, cell):
 with try_target_cell(obj._context, cell) as target:
  with obj.obj_alternate_context(target):
   (yield)

@ contextlib . contextmanager def obj_target_cell ( obj , cell ) : with try_target_cell ( obj . _context , cell ) as target : with obj . obj_alternate_context ( target ) : ( yield )
run with objects context set to a specific cell .