[Python-checkins] cpython (3.5): Issue #26547: Remove outdated term dictproxy from vars() documentation
berker.peksag
python-checkins at python.org
Fri Jun 24 02:11:01 EDT 2016
https://hg.python.org/cpython/rev/79e4593ce746
changeset: 102149:79e4593ce746
branch: 3.5
parent: 102147:23182404a85c
user: Berker Peksag <berker.peksag at gmail.com>
date: Fri Jun 24 09:12:01 2016 +0300
summary:
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.
files:
Doc/library/functions.rst | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst
--- a/Doc/library/functions.rst
+++ b/Doc/library/functions.rst
@@ -1469,7 +1469,7 @@
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
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list