Using tuples correctly?

Ville Vainio ville at
Mon Oct 11 14:58:06 CEST 2004

>>>>> "Bjorn" == BJörn Lindqvist <bjourne at> writes:

    Bjorn> instantiate classes instead. OK. Fine. Or they use tuples
    Bjorn> because they are convenient and becomes annoyed because
    Bjorn> they have to use index access.

Did you check out the Bunch data type already?

It doesn't support "tuple unpacking", but otherwise it might fit your

Ville Vainio

More information about the Python-list mailing list