fix doctest that fails Python 3.2