]> granicus.if.org Git - python/commitdiff
Merged revisions 74794 via svnmerge from
authorBenjamin Peterson <benjamin@python.org>
Tue, 15 Sep 2009 03:38:09 +0000 (03:38 +0000)
committerBenjamin Peterson <benjamin@python.org>
Tue, 15 Sep 2009 03:38:09 +0000 (03:38 +0000)
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r74794 | benjamin.peterson | 2009-09-14 22:34:15 -0500 (Mon, 14 Sep 2009) | 1 line

  Py_(Set|Get)PythonHome use wchar_t #6913
........

Doc/c-api/init.rst

index 6e185faffa2bfd28154260ddf82b47136ad917f5..b2baab5efb321c408f90ebecc218c1258086dda1 100644 (file)
@@ -366,14 +366,14 @@ Initialization, Finalization, and Threads
       check w/ Guido.
 
 
-.. cfunction:: void Py_SetPythonHome(char *home)
+.. cfunction:: void Py_SetPythonHome(wchar_t *home)
 
    Set the default "home" directory, that is, the location of the standard
    Python libraries.  The libraries are searched in
    :file:`{home}/lib/python{version}` and :file:`{home}/lib/python{version}`.
 
 
-.. cfunction:: char* Py_GetPythonHome()
+.. cfunction:: w_char* Py_GetPythonHome()
 
    Return the default "home", that is, the value set by a previous call to
    :cfunc:`Py_SetPythonHome`, or the value of the :envvar:`PYTHONHOME`