mirror of
https://github.com/python/cpython.git
synced 2025-09-24 09:23:02 +00:00
Issue #7796: Add link to Jan Kaliszewski's alternate constructor and ABC for named tuples.
This commit is contained in:
parent
12e6c256ca
commit
6c94e6fb42
2 changed files with 10 additions and 2 deletions
|
@ -775,9 +775,16 @@ and more efficient to use a simple class declaration:
|
||||||
|
|
||||||
.. seealso::
|
.. seealso::
|
||||||
|
|
||||||
`Named tuple recipe <http://code.activestate.com/recipes/500261/>`_
|
* `Named tuple recipe <http://code.activestate.com/recipes/500261/>`_
|
||||||
adapted for Python 2.4.
|
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
|
:class:`OrderedDict` objects
|
||||||
----------------------------
|
----------------------------
|
||||||
|
|
|
@ -449,6 +449,7 @@ Tamito Kajiyama
|
||||||
Peter van Kampen
|
Peter van Kampen
|
||||||
Rafe Kaplan
|
Rafe Kaplan
|
||||||
Jacob Kaplan-Moss
|
Jacob Kaplan-Moss
|
||||||
|
Jan Kaliszewski
|
||||||
Arkady Koplyarov
|
Arkady Koplyarov
|
||||||
Lou Kates
|
Lou Kates
|
||||||
Hiroaki Kawai
|
Hiroaki Kawai
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue