Add example from Dive into Python 3.