Pregunta de entrevista de Squarepoint Capital

What is a context manager in Python?