Revised Python documentation