En Mon, 29 Jan 2007 01:24:23 -0300, manstey <[EMAIL PROTECTED]> escribió:
>
> Our class has its attributes set as classes, as in
>
> MyClass.Phone.Value='34562346'
> MyClass.Phone.Private=True
>
> Inside the MyClass definition we have a function like this:
>
> def MyFunc(self,clsProperty):
>if
On Sun, 28 Jan 2007 20:24:23 -0800, manstey wrote:
> Hi,
>
> Our class has its attributes set as classes, as in
>
> MyClass.Phone.Value='34562346'
> MyClass.Phone.Private=True
The Python convention is that classes have initial capitals (MyClass),
instances do not, and nor do attribute names.
I