day7_python之面向對象item系列(__getitem__,__setitem__,__delitem__) class Foo: def __getitem__(self, item): print('=====>get') return self.__d ...