diff options
author | Berker Peksag <berker.peksag@gmail.com> | 2016-06-24 06:12:01 (GMT) |
---|---|---|
committer | Berker Peksag <berker.peksag@gmail.com> | 2016-06-24 06:12:01 (GMT) |
commit | 37e87e6ec116b0e0e41e9623eec2743c78d96b5c (patch) | |
tree | aa4a4f01623308e704073a760185aa63e6208d34 /Doc/library/functions.rst | |
parent | 79af27ef2e59025fdcfc02233cb9772363065bed (diff) | |
download | cpython-37e87e6ec116b0e0e41e9623eec2743c78d96b5c.zip cpython-37e87e6ec116b0e0e41e9623eec2743c78d96b5c.tar.gz cpython-37e87e6ec116b0e0e41e9623eec2743c78d96b5c.tar.bz2 |
Issue #26547: Remove outdated term dictproxy from vars() documentation
dictproxy was used in Python 2 and it was renamed to mappingproxy
in Python 3.3.
Patch by Julien.
Diffstat (limited to 'Doc/library/functions.rst')
-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 e609463..efa5bd3 100644 --- a/Doc/library/functions.rst +++ b/Doc/library/functions.rst @@ -1469,7 +1469,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 |