A Python 3000 Question

Steven D'Aprano steve at REMOVE-THIS-cybersource.com.au
Wed Oct 31 22:59:05 CET 2007

On Wed, 31 Oct 2007 14:45:59 +0000, Duncan Booth wrote:

>> Thanks for the interesting note. I didn't know that tuples originally
>> had no methods. That made len mandatory, I suppose.
> Only if you think tuples are a sequence rather than a record.

Even records have a length. The length of a record is the number of 
fields it has.


More information about the Python-list mailing list