document python example