On Thu, 20 Sep 2012 06:52:07 -0700, Jure Erznožnik wrote:
> I'm trying to create a class that would lie to the user that a member is
> in some cases a simple variable and in other cases a class. The nature
> of the member would depend on call syntax like so:
> 1. x = obj.member #x becomes the "si
On 9/20/2012 9:52 AM, Jure Erznožnik wrote:
I'm trying to create a class that would lie to the user that a member is in
some cases a simple variable and in other cases a class. The nature of the
member would depend on call syntax like so:
1. x = obj.member #x becomes the "simple" value containe
I'm trying to create a class that would lie to the user that a member is in
some cases a simple variable and in other cases a class. The nature of the
member would depend on call syntax like so:
1. x = obj.member #x becomes the "simple" value contained in member
2. x = obj.member.another_member #