On May 19, 4:30 am, Gregory Ewing <greg.ew...@canterbury.ac.nz> wrote:
> Or if you do need to override it for some reason, you
> need to accept the extra args and pass them on:
>
>    class nThread(threading.Thread):
>
>        def __init__(self, *args, **kwds):
>            threading.Thread.__init__(self, *args, **kwds)
>            # your other stuff here
>
Amazing, I've never seen *args used before outside of documentation, I
didn't think it was "real" :P  One problem down, still looking for why
printing inside a thread crashes IDLE.

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

Reply via email to