]> granicus.if.org Git - python/commitdiff
merge
authorRaymond Hettinger <python@rcn.com>
Tue, 16 Aug 2016 17:59:21 +0000 (10:59 -0700)
committerRaymond Hettinger <python@rcn.com>
Tue, 16 Aug 2016 17:59:21 +0000 (10:59 -0700)
1  2 
Doc/library/collections.rst

index a6c9be633347babef1eaff30f8e6c831522c859b,a147287255a24ca6145d959f4d10340a818c01e2..778bd540ac4ef9ac4a8720af0eac7de0e58a16ec
@@@ -793,17 -793,8 +793,12 @@@ they add the ability to access fields b
      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*.
 +       Added support for *rename*.
 +
 +    .. versionchanged:: 3.6
 +       The *verbose* and *rename* parameters became
 +       :ref:`keyword-only arguments <keyword-only_parameter>`.
  
  
  .. doctest::