[Python-checkins] Fix typo in `Py_GetPythonHome` signature (#102168)

kumaraditya303 webhook-mailer at python.org
Thu Feb 23 08:28:41 EST 2023


https://github.com/python/cpython/commit/9bba8035bd99813203cb3b0de218f9cc3bcdaf2f
commit: 9bba8035bd99813203cb3b0de218f9cc3bcdaf2f
branch: main
author: Tanner Firl <105078804+TannerFirl at users.noreply.github.com>
committer: kumaraditya303 <59607654+kumaraditya303 at users.noreply.github.com>
date: 2023-02-23T18:58:33+05:30
summary:

Fix typo in `Py_GetPythonHome` signature (#102168)

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

diff --git a/Doc/c-api/init.rst b/Doc/c-api/init.rst
index ad06616eeb0e..b50ee3b3803e 100644
--- a/Doc/c-api/init.rst
+++ b/Doc/c-api/init.rst
@@ -818,7 +818,7 @@ Process-wide parameters
    .. deprecated:: 3.11
 
 
-.. c:function:: w_char* Py_GetPythonHome()
+.. c:function:: wchar_t* Py_GetPythonHome()
 
    Return the default "home", that is, the value set by a previous call to
    :c:func:`Py_SetPythonHome`, or the value of the :envvar:`PYTHONHOME`



More information about the Python-checkins mailing list