[Python-checkins] cpython (3.5): Issue #23746: Clarified is_python_build() documentation.
vinay.sajip
python-checkins at python.org
Thu Aug 25 10:14:34 EDT 2016
https://hg.python.org/cpython/rev/bf51f1f3569a
changeset: 102909:bf51f1f3569a
branch: 3.5
parent: 102907:641852513b8e
user: Vinay Sajip <vinay_sajip at yahoo.co.uk>
date: Thu Aug 25 15:13:24 2016 +0100
summary:
Issue #23746: Clarified is_python_build() documentation.
files:
Doc/library/sysconfig.rst | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/Doc/library/sysconfig.rst b/Doc/library/sysconfig.rst
--- a/Doc/library/sysconfig.rst
+++ b/Doc/library/sysconfig.rst
@@ -204,7 +204,9 @@
.. function:: is_python_build()
- Return ``True`` if the current Python installation was built from source.
+ Return ``True`` if the running Python interpreter was built from source and
+ is being run from its built location, and not from a location resulting from
+ e.g. running ``make install`` or installing via a binary installer.
.. function:: parse_config_h(fp[, vars])
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list