[Python-checkins] r86933 - python/branches/py3k/Doc/c-api/init.rst
georg.brandl
python-checkins at python.org
Thu Dec 2 19:02:02 CET 2010
Author: georg.brandl
Date: Thu Dec 2 19:02:01 2010
New Revision: 86933
Log:
#10597: fix Py_SetPythonHome docs by pointing to where the meaning of PYTHONHOME is already documented.
Modified:
python/branches/py3k/Doc/c-api/init.rst
Modified: python/branches/py3k/Doc/c-api/init.rst
==============================================================================
--- python/branches/py3k/Doc/c-api/init.rst (original)
+++ python/branches/py3k/Doc/c-api/init.rst Thu Dec 2 19:02:01 2010
@@ -412,8 +412,9 @@
.. c:function:: 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}`.
+ Python libraries. See :envvar:`PYTHONHOME` for the meaning of the
+ argument string.
+
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
More information about the Python-checkins
mailing list