Structures

Arnaud Delobelle arnodel at googlemail.com
Mon Nov 3 17:44:25 EST 2008


Craig Allen <callen314 at gmail.com> writes:

>>
>> Care to say more about what they are, not what they're like?
>>
>
> I'm not the OP and I may be biased by C++, I can imagine the
> complaints when I say, classes are just structures with function
> members for working on the structure.

In C++ classes and structures are the same, except that class members
are private by default and structure members are public by default

-- 
Arnaud



More information about the Python-list mailing list