Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 37e87e6

Browse files
committed
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.
1 parent 79af27e commit 37e87e6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Doc/library/functions.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1469,7 +1469,7 @@ are always available. They are listed here in alphabetical order.
14691469
Objects such as modules and instances have an updateable :attr:`~object.__dict__`
14701470
attribute; however, other objects may have write restrictions on their
14711471
:attr:`~object.__dict__` attributes (for example, classes use a
1472-
dictproxy to prevent direct dictionary updates).
1472+
:class:`types.MappingProxyType` to prevent direct dictionary updates).
14731473

14741474
Without an argument, :func:`vars` acts like :func:`locals`. Note, the
14751475
locals dictionary is only useful for reads since updates to the locals

0 commit comments

Comments
 (0)