multiple constructor __init__

Emmanuel Mayssat emayssat at
Fri Feb 3 02:09:15 CET 2012

Hello all,

I would like to instantiate my class as follow

QObject(<param1>, <parent>)

an example would be

How can I do this without have to specify parent=<parent> in the second
(I always need to supply the parent parameter, but I would like to supply
it last)

I have read this
but all the suggested methods do not work as I want

Any idea?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Python-list mailing list