3 ms·
I have updated the documentation on __slots__, and those changes have made it into the dev version of the Python docs.[0] I have also written up __slots__ in g
by aaronchall 9y ago
I have updated the documentation on __slots__, and those changes have made it into the dev version of the Python docs.[0]
I have also written up __slots__ in great detail on Stack Overflow.[1]
I'm at a meetup right now, but I can try to answer any quick questions here tonight.
[0] https://docs.python.org/3.7/reference/datamodel.html#object.__slots__ https://docs.python.org/3.7/reference/datamodel.html#object....
[1] https://stackoverflow.com/q/472000/541136 https://stackoverflow.com/q/472000/541136