Possible Duplicate:
What are “named tuples” in Python?

What is the situation where a namedtuple should be used?

When I looked into it, it looked like a way to make tuples more like dictionaries. How do they compare to dictionaries?

Can only the same hashable types for dictionaries be used for namedtuples?

2 Answers
2

Tags:

Leave a Reply

Your email address will not be published. Required fields are marked *