summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2023-02-23 13:37:24 (GMT)
committerGitHub <noreply@github.com>2023-02-23 13:37:24 (GMT)
commit7d2ad478d1f0d26be4a1ab6aa58e88e10c492217 (patch)
treee5b3de74cbb205b8544981331ff26be53a0f24ac
parent780dec8a9468a5f31c9f7ebfc4f673ed4ed9e0e8 (diff)
downloadcpython-7d2ad478d1f0d26be4a1ab6aa58e88e10c492217.zip
cpython-7d2ad478d1f0d26be4a1ab6aa58e88e10c492217.tar.gz
cpython-7d2ad478d1f0d26be4a1ab6aa58e88e10c492217.tar.bz2
Fix typo in `Py_GetPythonHome` signature (GH-102168)
(cherry picked from commit 9bba8035bd99813203cb3b0de218f9cc3bcdaf2f) Co-authored-by: Tanner Firl <105078804+TannerFirl@users.noreply.github.com>
-rw-r--r--Doc/c-api/init.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/c-api/init.rst b/Doc/c-api/init.rst
index 483bcd9..e1d2328 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`