]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Merged revisions 74795 via svnmerge from
authorBenjamin Peterson <benjamin@python.org>
Tue, 15 Sep 2009 03:39:14 +0000 (03:39 +0000)
committerBenjamin Peterson <benjamin@python.org>
Tue, 15 Sep 2009 03:39:14 +0000 (03:39 +0000)
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
........

Doc/c-api/init.rst

index 938ea2088cca810ef041e8360d5dd2748e54d3b1..7beb211f721803dbe9b2c71bf5d4003b0af12617 100644 (file)
@@ -374,6 +374,10 @@ Initialization, Finalization, and Threads
    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()