我们以a.x为例,对象a调用属性x。
a.x
a
x
__getattribute__
__getattr__
参考: https://stackoverflow.com/questions/4295678/understanding-the-difference-between-getattr-and-getattribute