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.
Also, cc @fredlf (how's this wording?  good enough?  it should be very very similar to Ruby's, so it's likely fine)