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

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


Author: benjamin.peterson
Date: Tue Sep 15 05:39:14 2009
New Revision: 74797

Log:
Merged revisions 74795 via svnmerge from 
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74795 | benjamin.peterson | 2009-09-14 22:36:26 -0500 (Mon, 14 Sep 2009) | 1 line
  
  Py_SetPythonHome uses static storage #6913
........


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

Modified: python/branches/release26-maint/Doc/c-api/init.rst
==============================================================================
--- python/branches/release26-maint/Doc/c-api/init.rst	(original)
+++ python/branches/release26-maint/Doc/c-api/init.rst	Tue Sep 15 05:39:14 2009
@@ -374,6 +374,10 @@
    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}`.
+   The argument should point to a zero-terminated character string in static
+   storage whose contents will not change for the duration of the program's
+   execution.  No code in the Python interpreter will change the contents of
+   this storage.
 
 
 .. cfunction:: char* Py_GetPythonHome()


More information about the Python-checkins mailing list