[Python-Dev] Call for clarity ( clarification ;-) )

erik heneryd erik@pythonware.com
Fri, 06 Sep 2002 16:44:16 +0200


Hunter Peress wrote:

>example 1) pydoc os.fork
>Python Library Documentation: built-in function fork in os
>fork(...)
>    fork() -> pid
>    Fork a child process.
>    
>    Return 0 to child process and PID of child to parent process.
>  
>

my only objection is that the case where fork fails isn't documented.
with a c background one expects a negative number, when in fact an 
exception is raised...

erik