cpython (merge 3.2 -> default): Issue #7796: Add link to Jan Kaliszewski's alternate constructor and ABC for

http://hg.python.org/cpython/rev/330d3482cad8 changeset: 69094:330d3482cad8 parent: 69092:3e191db416a6 parent: 69093:7aa3f1f7ac94 user: Raymond Hettinger <python@rcn.com> date: Thu Mar 31 15:46:39 2011 -0700 summary: Issue #7796: Add link to Jan Kaliszewski's alternate constructor and ABC for named tuples. files: Doc/library/collections.rst | 11 +++++++++-- Misc/ACKS | 1 + 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/Doc/library/collections.rst b/Doc/library/collections.rst --- a/Doc/library/collections.rst +++ b/Doc/library/collections.rst @@ -857,8 +857,15 @@ .. seealso:: - `Named tuple recipe <http://code.activestate.com/recipes/500261/>`_ - adapted for Python 2.4. + * `Named tuple recipe <http://code.activestate.com/recipes/500261/>`_ + adapted for Python 2.4. + + * `Recipe for named tuple abstract base class with a metaclass mix-in + <http://code.activestate.com/recipes/577629-namedtupleabc-abstract-base-class-mix-in-for-named/>`_ + by Jan Kaliszewski. Besides providing an :term:`abstract base class` for + named tuples, it also supports an alternate :term:`metaclass`-based + constructor that is convenient for use cases where named tuples are being + subclassed. :class:`OrderedDict` objects diff --git a/Misc/ACKS b/Misc/ACKS --- a/Misc/ACKS +++ b/Misc/ACKS @@ -452,6 +452,7 @@ Peter van Kampen Rafe Kaplan Jacob Kaplan-Moss +Jan Kaliszewski Arkady Koplyarov Lou Kates Hiroaki Kawai -- Repository URL: http://hg.python.org/cpython
participants (1)
-
raymond.hettinger