[Python-checkins] cpython: Issue #24842: Cross-reference types.SimpleNamespace from the namedtuple docs

raymond.hettinger python-checkins at python.org
Sun Aug 16 17:42:21 CEST 2015


https://hg.python.org/cpython/rev/678d93c273de
changeset:   97397:678d93c273de
user:        Raymond Hettinger <python at rcn.com>
date:        Sun Aug 16 08:32:01 2015 -0700
summary:
  Issue #24842:  Cross-reference types.SimpleNamespace from the namedtuple docs

files:
  Doc/library/collections.rst |  3 +++
  1 files changed, 3 insertions(+), 0 deletions(-)


diff --git a/Doc/library/collections.rst b/Doc/library/collections.rst
--- a/Doc/library/collections.rst
+++ b/Doc/library/collections.rst
@@ -962,6 +962,9 @@
       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
 ----------------------------

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list