diff options
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/collections.rst | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/Doc/library/collections.rst b/Doc/library/collections.rst index 7eff4ce..a147287 100644 --- a/Doc/library/collections.rst +++ b/Doc/library/collections.rst @@ -793,11 +793,6 @@ they add the ability to access fields by name instead of position index. Named tuple instances do not have per-instance dictionaries, so they are lightweight and require no more memory than regular tuples. - For simple uses, where the only requirement is to be able to refer to a set - of values by name using attribute-style access, the - :class:`types.SimpleNamespace` type can be a suitable alternative to using - a namedtuple. - .. versionchanged:: 3.1 Added support for *rename*. |