Changed python documentation to use the onbuild example

Changed python documentation to use the onbuild example, similar to how we do it in the Ruby example.