mirror of
https://github.com/python/cpython.git
synced 2025-09-27 02:39:58 +00:00
Issue #24842: Cross-reference types.SimpleNamespace from the namedtuple docs
This commit is contained in:
parent
c39786dc08
commit
2a75e8f958
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
----------------------------
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue