summaryrefslogtreecommitdiffstats
path: root/Doc/c-api/init.rst
diff options
context:
space:
mode:
authorÉric Araujo <merwok@netwok.org>2014-03-12 23:51:50 (GMT)
committerÉric Araujo <merwok@netwok.org>2014-03-12 23:51:50 (GMT)
commitabdc16ee1bb9819ecc6500a8f1d8720fc2072643 (patch)
tree6a51cc8277861c729d6d72e75b29a76e504fe7a8 /Doc/c-api/init.rst
parent8546e226bd0b6332ea5af551b9bbd74c2707a3ea (diff)
parentfa5e6e4773ea959a7cc354d54c50df507cf005c3 (diff)
downloadcpython-abdc16ee1bb9819ecc6500a8f1d8720fc2072643.zip
cpython-abdc16ee1bb9819ecc6500a8f1d8720fc2072643.tar.gz
cpython-abdc16ee1bb9819ecc6500a8f1d8720fc2072643.tar.bz2
Merge 3.3 (#16805)
Diffstat (limited to 'Doc/c-api/init.rst')
-rw-r--r--Doc/c-api/init.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/Doc/c-api/init.rst b/Doc/c-api/init.rst
index 6439d7f..0587e15 100644
--- a/Doc/c-api/init.rst
+++ b/Doc/c-api/init.rst
@@ -582,6 +582,7 @@ code, or when embedding the Python interpreter:
.. index:: module: _thread
.. note::
+
When only the main thread exists, no GIL operations are needed. This is a
common situation (most Python programs do not use threads), and the lock
operations slow the interpreter down a bit. Therefore, the lock is not