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 4dd2112 commit f552f4bCopy full SHA for f552f4b
Doc/library/collections.rst
@@ -849,6 +849,9 @@ they add the ability to access fields by name instead of position index.
849
Named tuple instances do not have per-instance dictionaries, so they are
850
lightweight and require no more memory than regular tuples.
851
852
+ To support pickling, the named tuple class should be assigned to a variable
853
+ that matches *typename*.
854
+
855
.. versionchanged:: 3.1
856
Added support for *rename*.
857
0 commit comments