summaryrefslogtreecommitdiffstats
path: root/Doc/library/sys.rst
diff options
context:
space:
mode:
authorPetri Lehtinen <petri@digip.org>2012-02-02 19:23:15 (GMT)
committerPetri Lehtinen <petri@digip.org>2012-02-02 19:23:15 (GMT)
commit4b0eab62f04fc2e738b1bff1d170c7f6f96c1920 (patch)
tree4b862ab67650ae543db018d415b4916e87ca6e8a /Doc/library/sys.rst
parentf854799d8438d66d1997e71cb2ea821e29d33472 (diff)
parent9713321f46769f41f653a752ec348cec766e633e (diff)
downloadcpython-4b0eab62f04fc2e738b1bff1d170c7f6f96c1920.zip
cpython-4b0eab62f04fc2e738b1bff1d170c7f6f96c1920.tar.gz
cpython-4b0eab62f04fc2e738b1bff1d170c7f6f96c1920.tar.bz2
Merge branch 3.2
Closes #13402.
Diffstat (limited to 'Doc/library/sys.rst')
-rw-r--r--Doc/library/sys.rst6
1 files changed, 4 insertions, 2 deletions
diff --git a/Doc/library/sys.rst b/Doc/library/sys.rst
index 72414f6..c2b7423 100644
--- a/Doc/library/sys.rst
+++ b/Doc/library/sys.rst
@@ -202,8 +202,10 @@ always available.
.. data:: executable
- A string giving the name of the executable binary for the Python interpreter, on
- systems where this makes sense.
+ A string giving the absolute path of the executable binary for the Python
+ interpreter, on systems where this makes sense. If Python is unable to retrieve
+ the real path to its executable, :data:`sys.executable` will be an empty string
+ or ``None``.
.. function:: exit([arg])