PyDocs

Nav

Concurrent Execution

Thread.run

threading

method of Thread (source) not WASI
  • Thread.run()
Method representing the thread's activity.

You may override this method in a subclass. The standard run() method
invokes the callable object passed to the object's constructor as the
target argument, if any, with sequential and keyword arguments taken
from the args and kwargs arguments, respectively.
1 Example
>>> from threading import Thread
>>> t = Thread(target=print, args=[1])
>>> t.run()
1
>>> t = Thread(target=print, args=(1,))
>>> t.run()
1
from the Python docs
See Also
No see-alsos for threading/Thread.run
0 Notes
No notes for Thread.run