https://github.com/python/cpython/commit/f5da369e20498b1c14ee835c70478c31c8df29bd commit: f5da369e20498b1c14ee835c70478c31c8df29bd branch: main author: da-woods <[email protected]> committer: kumaraditya303 <[email protected]> date: 2025-10-27T10:28:30+05:30 summary:
Fix typo in TLS docs (#140640) files: M Doc/c-api/init.rst diff --git a/Doc/c-api/init.rst b/Doc/c-api/init.rst index 7a501ea22be64b..49ffeab55850c0 100644 --- a/Doc/c-api/init.rst +++ b/Doc/c-api/init.rst @@ -2140,7 +2140,7 @@ use a thread key and functions to associate a :c:expr:`void*` value per thread. A :term:`thread state` does *not* need to be :term:`attached <attached thread state>` -when calling these functions; they suppl their own locking. +when calling these functions; they supply their own locking. Note that :file:`Python.h` does not include the declaration of the TLS APIs, you need to include :file:`pythread.h` to use thread-local storage. _______________________________________________ Python-checkins mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3//lists/python-checkins.python.org Member address: [email protected]
