Update doctests for Python 3.