refering to base classes

C

Chaz Ginger

Georg said:
It is not a sort of reference to the class, it is *the class itself*.

... pass
...

Georg
A reference by any other name still smells as sweet! lol.
 
J

Jan Niklas Fingerle

Bruno Desthuilliers said:
I suppose "this" refers to the use of super() ? If so, I wouldn't say
it's "superior", but it can be helpful with complex inheritence scheme

.... which aren't anywhere in sight. Don't start using super() until you
need diamond shape inheritance (not counting object as base) and
can be sure that *all* involved classes use super().

While I don't agree with the word "harmful", googling for "python",
"super" and "harmful" will give you deeper insights to this (and
GvR's reaction, too).

Cheers,
--Jan Niklas
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,819
Latest member
masterdaster

Latest Threads

Top