Skip to content
#

tuple

Here are 213 public repositories matching this topic...

A subclass of tuple that allows for named attribute access. Note that a structure with the same name and usage is available in Python 2.6 as collections.namedtuple, but this is smaller and available in Python 2.4+. If you ask the question "should I use this or collections.namedtuple?" the answer will invariably be the latter. The only real benef…

  • Updated Feb 27, 2014
  • Python

Improve this page

Add a description, image, and links to the tuple topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the tuple topic, visit your repo's landing page and select "manage topics."

Learn more