mw 发帖数: 525 | 1 我怎么google了半天也没什么结果
有没有比较熟悉的人给讲讲?
谢谢啦 | r****t 发帖数: 10904 | 2 avoid creating __dict__ for instances from this class. Only enough memory is
used to store attributes appearing in __slots__.
For such instances, there's no __dict__, hence the space saving. Useful if
you are going to have large number of instances from some simple class. | d***q 发帖数: 1119 | 3 it sth likes the operator [] overloading in c++ |
|