diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst index d0f607296e86c8..b88c56e3d58622 100644 --- a/Doc/library/functions.rst +++ b/Doc/library/functions.rst @@ -1720,6 +1720,9 @@ are always available. They are listed here in alphabetical order. locals dictionary is only useful for reads since updates to the locals dictionary are ignored. + A :exc:`TypeError` exception is raised if an object is specified but + it doesn't have a :attr:`~object.__dict__` attribute (for example, if + its class defines the :attr:`~object.__slots__` attribute). .. function:: zip(*iterables)