]> granicus.if.org Git - python/commitdiff
Issue #24842: Cross-reference types.SimpleNamespace from the namedtuple docs
authorRaymond Hettinger <python@rcn.com>
Sun, 16 Aug 2015 15:32:01 +0000 (08:32 -0700)
committerRaymond Hettinger <python@rcn.com>
Sun, 16 Aug 2015 15:32:01 +0000 (08:32 -0700)
Doc/library/collections.rst

index f2befe7c08e25ad9a7941e538f02992342d3196c..aeb1c5227361b32e8441668d04cc6b5ecc5d5bf1 100644 (file)
@@ -962,6 +962,9 @@ and more efficient to use a simple :class:`~enum.Enum`:
       constructor that is convenient for use cases where named tuples are being
       subclassed.
 
+    * :meth:`types.SimpleNamespace` for a mutable namespace based on an underlying
+      dictionary instead of a tuple.
+
 
 :class:`OrderedDict` objects
 ----------------------------