Pregunta de entrevista de Smiths Detection

What function allows you to access the attributes of a Python object by name?