summaryrefslogtreecommitdiffstats
path: root/Doc/c-api/init.rst
diff options
context:
space:
mode:
authorÉric Araujo <merwok@netwok.org>2014-03-12 23:51:00 (GMT)
committerÉric Araujo <merwok@netwok.org>2014-03-12 23:51:00 (GMT)
commitfa5e6e4773ea959a7cc354d54c50df507cf005c3 (patch)
tree31b2a5ad1a614394e303e171233c55d94646317f /Doc/c-api/init.rst
parentd0fc83d5ebf860664ab2156549d3eb98a50212cd (diff)
downloadcpython-fa5e6e4773ea959a7cc354d54c50df507cf005c3.zip
cpython-fa5e6e4773ea959a7cc354d54c50df507cf005c3.tar.gz
cpython-fa5e6e4773ea959a7cc354d54c50df507cf005c3.tar.bz2
Fix note markup (#16805).
Patch by Tshepang Lekhonkhobe, reviewed by Georg Brandl.
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 705509f..4dad2c8 100644
--- a/Doc/c-api/init.rst
+++ b/Doc/c-api/init.rst
@@ -548,6 +548,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