diff options
author | Eric Snow <ericsnowcurrently@gmail.com> | 2016-09-09 18:22:14 (GMT) |
---|---|---|
committer | Eric Snow <ericsnowcurrently@gmail.com> | 2016-09-09 18:22:14 (GMT) |
commit | 68f4dd8b01b1d2b961f51cf07b785366ceb139e4 (patch) | |
tree | e13e40fd7e9b353a0c8a8261d197bbc1d8f3df94 /Doc/reference | |
parent | 6982a4f8f0339434fd8b8b0792f34f1426e70dfd (diff) | |
download | cpython-68f4dd8b01b1d2b961f51cf07b785366ceb139e4.zip cpython-68f4dd8b01b1d2b961f51cf07b785366ceb139e4.tar.gz cpython-68f4dd8b01b1d2b961f51cf07b785366ceb139e4.tar.bz2 |
Doc updates for PEPs 520 and 468.
Diffstat (limited to 'Doc/reference')
-rw-r--r-- | Doc/reference/datamodel.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/reference/datamodel.rst b/Doc/reference/datamodel.rst index 3d581a5..246e2e3 100644 --- a/Doc/reference/datamodel.rst +++ b/Doc/reference/datamodel.rst @@ -1801,9 +1801,9 @@ included in the class definition (if any) and the resulting object is bound in the local namespace as the defined class. When a new class is created by ``type.__new__``, the object provided as the -namespace parameter is copied to a standard Python dictionary and the original -object is discarded. The new copy becomes the :attr:`~object.__dict__` attribute -of the class object. +namespace parameter is copied to a new ordered mapping and the original +object is discarded. The new copy is wrapped in a read-only proxy, which +becomes the :attr:`~object.__dict__` attribute of the class object. .. seealso:: |