From: Raymond Hettinger Date: Thu, 31 Mar 2011 22:46:06 +0000 (-0700) Subject: Issue #7796: Add link to Jan Kaliszewski's alternate constructor and ABC for named... X-Git-Tag: v3.2.1b1~184 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6c94e6fb42a5318da5c736894ed0fa5d61f85e5f;p=thirdparty%2FPython%2Fcpython.git Issue #7796: Add link to Jan Kaliszewski's alternate constructor and ABC for named tuples. --- diff --git a/Doc/library/collections.rst b/Doc/library/collections.rst index 5f677593dac1..93f220e22fce 100644 --- a/Doc/library/collections.rst +++ b/Doc/library/collections.rst @@ -775,8 +775,15 @@ and more efficient to use a simple class declaration: .. seealso:: - `Named tuple recipe `_ - adapted for Python 2.4. + * `Named tuple recipe `_ + adapted for Python 2.4. + + * `Recipe for named tuple abstract base class with a metaclass mix-in + `_ + 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 index 028f99a5085f..a98bab7ed2d8 100644 --- a/Misc/ACKS +++ b/Misc/ACKS @@ -449,6 +449,7 @@ Tamito Kajiyama Peter van Kampen Rafe Kaplan Jacob Kaplan-Moss +Jan Kaliszewski Arkady Koplyarov Lou Kates Hiroaki Kawai