diff options
author | Petri Lehtinen <petri@digip.org> | 2012-02-02 18:59:48 (GMT) |
---|---|---|
committer | Petri Lehtinen <petri@digip.org> | 2012-02-02 18:59:50 (GMT) |
commit | 9713321f46769f41f653a752ec348cec766e633e (patch) | |
tree | 657778bca14237ae70d61ad4e54fdc3497acb761 /Doc/library/sys.rst | |
parent | 03c29f90c37870d3a0a65524373acb5008fa7a11 (diff) | |
download | cpython-9713321f46769f41f653a752ec348cec766e633e.zip cpython-9713321f46769f41f653a752ec348cec766e633e.tar.gz cpython-9713321f46769f41f653a752ec348cec766e633e.tar.bz2 |
Document absoluteness of sys.executable
Closes #13402.
Diffstat (limited to 'Doc/library/sys.rst')
-rw-r--r-- | Doc/library/sys.rst | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Doc/library/sys.rst b/Doc/library/sys.rst index 18f916b..d611acf 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]) |