Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Doc/library/threading.rst
Original file line number Diff line number Diff line change
Expand Up @@ -578,7 +578,7 @@ since it is impossible to detect the termination of alien threads.

.. method:: run()

Method representing the thread's activity.
Method representing the thread's activity. Use Thread.start() to start a thread's execution

You may override this method in a subclass. The standard :meth:`run`
method invokes the callable object passed to the object's constructor as
Expand Down
2 changes: 1 addition & 1 deletion Lib/threading.py
Original file line number Diff line number Diff line change
Expand Up @@ -1147,7 +1147,7 @@ def start(self):
self._started.wait() # Will set ident and native_id

def run(self):
"""Method representing the thread's activity.
"""Method representing the thread's activity. Use Thread.start() to start a thread's execution

You may override this method in a subclass. The standard run() method
invokes the callable object passed to the object's constructor as the
Expand Down
Loading