We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c24b08 commit 9fc319dCopy full SHA for 9fc319d
Doc/library/collections.rst
@@ -862,6 +862,9 @@ they add the ability to access fields by name instead of position index.
862
Named tuple instances do not have per-instance dictionaries, so they are
863
lightweight and require no more memory than regular tuples.
864
865
+ To support pickling, the named tuple class should be assigned to a variable
866
+ that matches *typename*.
867
+
868
.. versionchanged:: 3.1
869
Added support for *rename*.
870
0 commit comments