python: Added documentation and an example on how to handle SIGCHLD.