(original) (raw)

diff --git a/Doc/reference/datamodel.rst b/Doc/reference/datamodel.rst index a10dbdb..4657b9d 100644 --- a/Doc/reference/datamodel.rst +++ b/Doc/reference/datamodel.rst @@ -1673,9 +1673,10 @@ Notes on using *__slots__* assignment. * If a class defines a slot also defined in a base class, the instance variable - defined by the base class slot is inaccessible (except by retrieving its - descriptor directly from the base class). This renders the meaning of the - program undefined. In the future, a check may be added to prevent this. + defined by the base class slot is inaccessible rendering the meaning of the + program undefined. A TypeError will be thrown when creating the + type instance to prevent this issue. The issue can easily occur if multiple + base classes inherit from a common base that defines slots. * The action of a *__slots__* declaration is limited to the class where it is defined. As a result, subclasses will have a *__dict__* unless they also define