summaryrefslogtreecommitdiffstats
path: root/Doc/library/os.rst
diff options
context:
space:
mode:
authorAmaury Forgeot d'Arc <amauryfa@gmail.com>2010-09-07 21:31:17 (GMT)
committerAmaury Forgeot d'Arc <amauryfa@gmail.com>2010-09-07 21:31:17 (GMT)
commit4b6fdf38525382dc279c5b32023f931e6db98591 (patch)
tree155ef27daaa49e0f2026d68e208d903b3e0d8a99 /Doc/library/os.rst
parent8bc09039ed7a2aa9d878e82419baf3402c48600d (diff)
downloadcpython-4b6fdf38525382dc279c5b32023f931e6db98591.zip
cpython-4b6fdf38525382dc279c5b32023f931e6db98591.tar.gz
cpython-4b6fdf38525382dc279c5b32023f931e6db98591.tar.bz2
#6394: Add os.getppid() support for Windows.
Diffstat (limited to 'Doc/library/os.rst')
-rw-r--r--Doc/library/os.rst8
1 files changed, 6 insertions, 2 deletions
diff --git a/Doc/library/os.rst b/Doc/library/os.rst
index 2e29e4a..9373bda 100644
--- a/Doc/library/os.rst
+++ b/Doc/library/os.rst
@@ -281,10 +281,14 @@ process and user.
.. index:: single: process; id of parent
- Return the parent's process id.
+ Return the parent's process id. When the parent process has exited, on Unix
+ the id returned is the one of the init process (1), on Windows it is still
+ the same id, which may be already reused by another process.
- Availability: Unix.
+ Availability: Unix, Windows
+ .. versionchanged:: 3.2
+ Added support for Windows.
.. function:: getresuid()