AssertionError - help me to solve this in a programme with Queue

maxim philippovmi at gmail.com
Tue May 12 10:13:54 EDT 2009


> hi
> It did work that way
>
> File "queue.py", line 15
>     threading.Thread__init__.(self)
>                              ^
> SyntaxError: invalid syntax

You've wrote right first time "threading.Thread.__init__(slef)", but
misprinted in your code "def _int_(self,q)" instead of "def __init__
(self,q)".



More information about the Python-list mailing list