diff options
-rw-r--r-- | Doc/library/functions.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst index 1f13afc..7216f1d 100644 --- a/Doc/library/functions.rst +++ b/Doc/library/functions.rst @@ -1472,7 +1472,7 @@ are always available. They are listed here in alphabetical order. Objects such as modules and instances have an updateable :attr:`~object.__dict__` attribute; however, other objects may have write restrictions on their :attr:`~object.__dict__` attributes (for example, classes use a - dictproxy to prevent direct dictionary updates). + :class:`types.MappingProxyType` to prevent direct dictionary updates). Without an argument, :func:`vars` acts like :func:`locals`. Note, the locals dictionary is only useful for reads since updates to the locals |