Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 58b5c5a commit b1dd557Copy full SHA for b1dd557
1 file changed
Lib/threading.py
@@ -918,6 +918,11 @@ def _pickSomeNonDaemonThread():
918
return None
919
920
def main_thread():
921
+ """Return the main thread object.
922
+
923
+ In normal conditions, the main thread is the thread from which the
924
+ Python interpreter was started.
925
+ """
926
return _main_thread
927
928
# get thread-local implementation, either from the thread
0 commit comments