Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Apr 17th, 2012  |  syntax: None  |  size: 0.40 KB  |  hits: 9  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. Thread started for key:  <TestEvent(Thread-1, initial)>
  2. list:  [<function test at 0xb7d1af0c>, 2]
  3. function:  <function test at 0xb7d1af0c>
  4. args:  []
  5. Traceback (most recent call last):
  6.   File "test.py", line 14, in <module>
  7.     mymain.start()
  8.   File "/home/dhaivat/programming/python/pyeventloop/main.py", line 31, in start
  9.     function(*args)
  10. TypeError: test() takes exactly 1 argument (0 given)