mm wrote:

> 
> Yes, it was the (), equivalent to thiks like new() create new object
> from class xy.
>>   s1.append(Word)
> s1.append(Word())
> 
> But I was looking for a "struct" equivalent like in c/c++.
> And/or "union". I can't find it.
> 
> Maybe you know a source (URL) "Python for c/c++ programmers" or things
> like that.
> 
> 
> Yes, I konw whats an object is...


A struct in C is unrelated to a struct in C++ as a struct in C++ _is_ a
class.


hg

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to