Super Tuples
Paul Prescod
paul at prescod.net
Wed Dec 29 11:49:32 EST 1999
"Colin J. Williams" wrote:
>
>
> This seems to be the PL1/Pascal record idea. I like it.
I think you're the first one. :)
> Could one use this in a multi-level manner?
>
> eg.
> >>> transaction= (addressee= 'bloggs at dot.com', contentType= 'HTML',
> ... dispatchedAt= time) # time as
> defined above
>
> >>> print transaction.dispatchedAt.hour
>
> 24
Sure. There is no reason to disallow this.
Pau Prescod
More information about the Python-list
mailing list