[Python-checkins] r65702 - python/trunk/Doc/library/os.rst
gregory.p.smith
python-checkins at python.org
Sat Aug 16 01:14:00 CEST 2008
Author: gregory.p.smith
Date: Sat Aug 16 01:14:00 2008
New Revision: 65702
Log:
document that waitpid raises OSError
Modified:
python/trunk/Doc/library/os.rst
Modified: python/trunk/Doc/library/os.rst
==============================================================================
--- python/trunk/Doc/library/os.rst (original)
+++ python/trunk/Doc/library/os.rst Sat Aug 16 01:14:00 2008
@@ -1883,6 +1883,9 @@
``-1``, status is requested for any process in the process group ``-pid`` (the
absolute value of *pid*).
+ An :exc:`OSError` is raised with the value of errno when the syscall
+ returns -1.
+
On Windows: Wait for completion of a process given by process handle *pid*, and
return a tuple containing *pid*, and its exit status shifted left by 8 bits
(shifting makes cross-platform use of the function easier). A *pid* less than or
More information about the Python-checkins
mailing list