Difference between __getattr__ and __getattribute__

I am trying to understand when to define __getattr__ or __getattribute__. The python documentation mentions __getattribute__ applies to new-style classes. What are new-style classes?

← Назад к списку