> -----Original Message-----
> From: Kirby Urner [mailto:[EMAIL PROTECTED]
> Sent: Thursday, October 13, 2005 7:35 PM
> To: 'Arthur'; [email protected]
> Subject: RE: [Edu-sig] Uniform Access Principle confusion
> 
> 
>  >>> mytri = Triangle()
>  >>> mytri.C.degrees
>  90
>  >>> mytri.C.radians
>  1.5707963267948966

Well that looks simple, elegant, and straightforward enough for my purposes.


Is there a simple elegant and straightforward way to implement this API in
Python that I am missing?  I know better than to assume that I don't miss
the obvious when it comes to this stuff.

Art



_______________________________________________
Edu-sig mailing list
[email protected]
http://mail.python.org/mailman/listinfo/edu-sig

Reply via email to