summaryrefslogtreecommitdiffstats
path: root/Doc/library/types.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/library/types.rst')
-rw-r--r--Doc/library/types.rst12
1 files changed, 12 insertions, 0 deletions
diff --git a/Doc/library/types.rst b/Doc/library/types.rst
index 118bc4c..5eb84c1 100644
--- a/Doc/library/types.rst
+++ b/Doc/library/types.rst
@@ -53,8 +53,20 @@ Dynamic Type Creation
in *kwds* argument with any ``'metaclass'`` entry removed. If no *kwds*
argument is passed in, this will be an empty dict.
+ .. impl-detail::
+
+ CPython uses :class:`collections.OrderedDict` for the default
+ namespace.
+
.. versionadded:: 3.3
+ .. versionchanged:: 3.6
+
+ The default value for the ``namespace`` element of the returned
+ tuple has changed from :func:`dict`. Now an insertion-order-
+ preserving mapping is used when the metaclass does not have a
+ ``__prepare__`` method,
+
.. seealso::
:ref:`metaclasses`