[Python-checkins] cpython (3.2): Issue #7796: Add link to Jan Kaliszewski's alternate constructor and ABC for
raymond.hettinger
python-checkins at python.org
Fri Apr 1 00:46:54 CEST 2011
http://hg.python.org/cpython/rev/7aa3f1f7ac94
changeset: 69093:7aa3f1f7ac94
branch: 3.2
parent: 69091:9797bfe8240f
user: Raymond Hettinger <python at rcn.com>
date: Thu Mar 31 15:46:06 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
@@ -775,8 +775,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
@@ -449,6 +449,7 @@
Peter van Kampen
Rafe Kaplan
Jacob Kaplan-Moss
+Jan Kaliszewski
Arkady Koplyarov
Lou Kates
Hiroaki Kawai
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list