]> granicus.if.org Git - python/commitdiff
Issue #7796: Add link to Jan Kaliszewski's alternate constructor and ABC for named...
authorRaymond Hettinger <python@rcn.com>
Thu, 31 Mar 2011 22:46:06 +0000 (15:46 -0700)
committerRaymond Hettinger <python@rcn.com>
Thu, 31 Mar 2011 22:46:06 +0000 (15:46 -0700)
Doc/library/collections.rst
Misc/ACKS

index 5f677593dac106f1cd98e7df661aff5a461fcc70..93f220e22fce4cc605cc923df4766583375e704b 100644 (file)
@@ -775,8 +775,15 @@ and more efficient to use a simple class declaration:
 
 .. 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
index 028f99a5085f949511999be8191e599fe5d09850..a98bab7ed2d8a32cfc81405131fcc2f19d9eef6d 100644 (file)
--- 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