summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2009-09-15 03:39:14 (GMT)
committerBenjamin Peterson <benjamin@python.org>2009-09-15 03:39:14 (GMT)
commit25a3314263b939770806d100a22c8b893ba63575 (patch)
tree7ed9a4346186a6bce1baa88486d2f5e0d5b1502e /Doc
parent893577aedfc81593782021fa6b5f64b3fe6c6370 (diff)
downloadcpython-25a3314263b939770806d100a22c8b893ba63575.zip
cpython-25a3314263b939770806d100a22c8b893ba63575.tar.gz
cpython-25a3314263b939770806d100a22c8b893ba63575.tar.bz2
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 ........
Diffstat (limited to 'Doc')
-rw-r--r--Doc/c-api/init.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/c-api/init.rst b/Doc/c-api/init.rst
index 938ea20..7beb211 100644
--- a/Doc/c-api/init.rst
+++ b/Doc/c-api/init.rst
@@ -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()