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

miss-islington webhook-mailer at python.org
Thu Feb 23 08:37:32 EST 2023


https://github.com/python/cpython/commit/7d2ad478d1f0d26be4a1ab6aa58e88e10c492217
commit: 7d2ad478d1f0d26be4a1ab6aa58e88e10c492217
branch: 3.10
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: miss-islington <31488909+miss-islington at users.noreply.github.com>
date: 2023-02-23T05:37:24-08:00
summary:

Fix typo in `Py_GetPythonHome` signature (GH-102168)

(cherry picked from commit 9bba8035bd99813203cb3b0de218f9cc3bcdaf2f)

Co-authored-by: Tanner Firl <105078804+TannerFirl at users.noreply.github.com>

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

diff --git a/Doc/c-api/init.rst b/Doc/c-api/init.rst
index 483bcd990ca7..e1d2328c5f31 100644
--- a/Doc/c-api/init.rst
+++ b/Doc/c-api/init.rst
@@ -662,7 +662,7 @@ Process-wide parameters
    :c:expr:`wchar_*` string.
 
 
-.. 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