Slots can return any object#57
Conversation
There is no requirement that slots return specifically `None`, any `object` will do.
|
Can this not be |
|
In this case it probably doesn't make much difference, but |
|
I'm not really convinced |
|
But does this hint leak back out to anything outside? My impression was that it just describes what sorts of things are accepted in various places that need a slot. I think the next layer is to get into |
Slots can return any `object`
There is no requirement that slots return specifically
None, anyobjectwill do.