Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 37cac76

Browse files
committed
Issue #23746: Clarified is_python_build() documentation.
1 parent 1f8cc33 commit 37cac76

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

Doc/library/sysconfig.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,9 @@ Other functions
204204

205205
.. function:: is_python_build()
206206

207-
Return ``True`` if the current Python installation was built from source.
207+
Return ``True`` if the running Python interpreter was built from source and
208+
is being run from its built location, and not from a location resulting from
209+
e.g. running ``make install`` or installing via a binary installer.
208210

209211

210212
.. function:: parse_config_h(fp[, vars])

0 commit comments

Comments
 (0)