[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Index with multiple parameters?
- From: Petite Abeille <petite.abeille@...>
- Date: Wed, 20 Feb 2008 03:00:58 +0100
On Feb 20, 2008, at 12:31 AM, Chris wrote:
vertex_vector[20, 'x'] = 2.5
As mentioned by Matthew P. Del Buono, perhaps adding the appropriate
__call and __newindex would do:
vertex_vector( 20, 'x' ) = 2.5
Looks convoluted though :/