Smiths Detection interview question

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