[Python-checkins] Fix wording about Py_tss_NEEDS_INIT in docs (GH-4096)

Nick Coghlan webhook-mailer at python.org
Tue Oct 24 08:58:29 EDT 2017


https://github.com/python/cpython/commit/831d61d56c5b0f15cfcfd5083638aa111cddb72b
commit: 831d61d56c5b0f15cfcfd5083638aa111cddb72b
branch: master
author: Masayuki Yamamoto <ma3yuki.8mamo10 at gmail.com>
committer: Nick Coghlan <ncoghlan at gmail.com>
date: 2017-10-24T22:58:16+10:00
summary:

Fix wording about Py_tss_NEEDS_INIT in docs (GH-4096)

Make more sense to replace the word "default value" with
"initializer" for Py_tss_NEEDS_INIT.

files:
M Doc/c-api/init.rst

diff --git a/Doc/c-api/init.rst b/Doc/c-api/init.rst
index 7792058683d..dc1939db17e 100644
--- a/Doc/c-api/init.rst
+++ b/Doc/c-api/init.rst
@@ -1246,7 +1246,7 @@ CPython interpreter.  This API uses a new type :c:type:`Py_tss_t` instead of
 
 .. c:macro:: Py_tss_NEEDS_INIT
 
-   This macro expands to the default value for :c:type:`Py_tss_t` variables.
+   This macro expands to the initializer for :c:type:`Py_tss_t` variables.
    Note that this macro won't be defined with :ref:`Py_LIMITED_API <stable>`.
 
 



More information about the Python-checkins mailing list