From 37cac76100bb1e214865befd4a8f626f746e0248 Mon Sep 17 00:00:00 2001 From: Vinay Sajip Date: Thu, 25 Aug 2016 15:13:24 +0100 Subject: Issue #23746: Clarified is_python_build() documentation. --- Doc/library/sysconfig.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Doc/library/sysconfig.rst b/Doc/library/sysconfig.rst index c51567a..6ba094d 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]) -- cgit v0.12