summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVinay Sajip <vinay_sajip@yahoo.co.uk>2016-08-25 15:13:24 +0100
committerVinay Sajip <vinay_sajip@yahoo.co.uk>2016-08-25 15:13:24 +0100
commit37cac76100bb1e214865befd4a8f626f746e0248 (patch)
tree91aa13cdfabfdf2f347be8d691be6e3b9ee340cd
parent1f8cc33f884e5d6f5d4f0724ce8b03a4044da5e9 (diff)
downloadcpython-git-37cac76100bb1e214865befd4a8f626f746e0248.tar.gz
Issue #23746: Clarified is_python_build() documentation.
-rw-r--r--Doc/library/sysconfig.rst4
1 files changed, 3 insertions, 1 deletions
diff --git a/Doc/library/sysconfig.rst b/Doc/library/sysconfig.rst
index c51567a81a..6ba094d667 100644
--- a/Doc/library/sysconfig.rst
+++ b/Doc/library/sysconfig.rst
@@ -204,7 +204,9 @@ Other functions
.. 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])