[Python-checkins] r74796 - in python/branches/release31-maint: Doc/c-api/init.rst

benjamin.peterson python-checkins at python.org
Tue Sep 15 05:38:09 CEST 2009


Author: benjamin.peterson
Date: Tue Sep 15 05:38:09 2009
New Revision: 74796

Log:
Merged revisions 74794 via svnmerge from 
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
........


Modified:
   python/branches/release31-maint/   (props changed)
   python/branches/release31-maint/Doc/c-api/init.rst

Modified: python/branches/release31-maint/Doc/c-api/init.rst
==============================================================================
--- python/branches/release31-maint/Doc/c-api/init.rst	(original)
+++ python/branches/release31-maint/Doc/c-api/init.rst	Tue Sep 15 05:38:09 2009
@@ -366,14 +366,14 @@
       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`


More information about the Python-checkins mailing list