[pys]finish ch04 doc