]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Add __asdict__() to NamedTuple and refine the docs.
authorRaymond Hettinger <python@rcn.com>
Fri, 5 Oct 2007 02:47:07 +0000 (02:47 +0000)
committerRaymond Hettinger <python@rcn.com>
Fri, 5 Oct 2007 02:47:07 +0000 (02:47 +0000)
commita7fc4b13e08430b14b2ac18555ba4dda315948d0
tree36d96ea5ac95c1e83b5ad0ce56b31134a69673a4
parentc9b7163da511684c49f53fef7b9a49eb44fff5e8
Add __asdict__() to NamedTuple and refine the docs.
Add maxlen support to deque() and fixup docs.
Partially fix __reduce__().  The None as a third arg was no longer supported.
Still needs work on __reduce__() to handle recursive inputs.
Doc/library/collections.rst
Lib/collections.py
Lib/test/test_collections.py
Lib/test/test_deque.py
Misc/NEWS
Modules/_collectionsmodule.c