diff options
author | Raymond Hettinger <python@rcn.com> | 2015-08-16 15:32:01 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2015-08-16 15:32:01 (GMT) |
commit | 2a75e8f95899431f44a9af9e23ca504d3e73a2ad (patch) | |
tree | ef791a438214edbf5b99abbd0cb200f554da7215 /Doc/library/collections.rst | |
parent | c39786dc08d68ebb832c3b249c42dcdaba38b3a9 (diff) | |
download | cpython-2a75e8f95899431f44a9af9e23ca504d3e73a2ad.zip cpython-2a75e8f95899431f44a9af9e23ca504d3e73a2ad.tar.gz cpython-2a75e8f95899431f44a9af9e23ca504d3e73a2ad.tar.bz2 |
Issue #24842: Cross-reference types.SimpleNamespace from the namedtuple docs
Diffstat (limited to 'Doc/library/collections.rst')
-rw-r--r-- | Doc/library/collections.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Doc/library/collections.rst b/Doc/library/collections.rst index f2befe7..aeb1c52 100644 --- a/Doc/library/collections.rst +++ b/Doc/library/collections.rst @@ -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 ---------------------------- |